diff --git a/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java b/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java index f832d48f..1d0309ab 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java +++ b/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java @@ -591,7 +591,8 @@ public class WorldManager implements MVWorldManager { public boolean saveWorldsConfig() { try { this.configWorlds.options().pathSeparator(SEPARATOR); - for (Map.Entry entry : worlds.entrySet()) { + this.configWorlds.set("worlds", null); + for (Map.Entry entry : worldsFromTheConfig.entrySet()) { this.configWorlds.set("worlds" + SEPARATOR + entry.getKey(), entry.getValue()); } this.configWorlds.save(new File(this.plugin.getDataFolder(), "worlds.yml"));