Lortseam 4 éve
szülő
commit
07241475a0

+ 4 - 4
src/main/java/me/lortseam/completeconfig/ConfigHandler.java

@@ -68,10 +68,6 @@ public final class ConfigHandler {
         return handler;
     }
 
-    private final Path jsonPath;
-    private final Config config;
-    private final GuiBuilder guiBuilder;
-
     /**
      * Gets the {@link ConfigHandler} for the specified owner if that owner created a config before.
      *
@@ -82,6 +78,10 @@ public final class ConfigHandler {
         return Optional.ofNullable(HANDLERS.get(owner));
     }
 
+    private final Path jsonPath;
+    private final Config config;
+    private final GuiBuilder guiBuilder;
+
     private ConfigHandler(String modID, Path jsonPath, List<ConfigCategory> topLevelCategories, GuiBuilder guiBuilder) {
         this.jsonPath = jsonPath;
         config = new Config(modID, topLevelCategories, load());