diff --git a/src/main/java/de/butzlabben/world/config/WorldConfig.java b/src/main/java/de/butzlabben/world/config/WorldConfig.java index 3320f22..b0d727b 100644 --- a/src/main/java/de/butzlabben/world/config/WorldConfig.java +++ b/src/main/java/de/butzlabben/world/config/WorldConfig.java @@ -23,6 +23,8 @@ import java.util.*; @SuppressWarnings("ResultOfMethodCallIgnored") public class WorldConfig { + private static final HashMap instances = new HashMap<>(); + public static File getWorldFile(String worldname) { File worldconfig = new File(Bukkit.getWorldContainer(), worldname + "/worldconfig.yml"); if (!worldconfig.exists()) { @@ -44,8 +46,6 @@ public class WorldConfig { return getWorldFile(worldname).exists(); } - private static final HashMap instances = new HashMap<>(); - /** * Gets the worldconfig for a specific worldname or creates a new one of no * exists