diff --git a/src/com/massivecraft/massivecore/Multiverse.java b/src/com/massivecraft/massivecore/Multiverse.java index e85afe96..f476c61c 100644 --- a/src/com/massivecraft/massivecore/Multiverse.java +++ b/src/com/massivecraft/massivecore/Multiverse.java @@ -70,12 +70,14 @@ public class Multiverse extends Entity { ret = new HashSet(); this.uw.put(universe, ret); + this.changed(); } return ret; } public Set delUniverse(String universe) { + this.changed(); return this.uw.remove(universe); } @@ -113,6 +115,7 @@ public class Multiverse extends Entity Set worlds = this.uw.get(universe); if (worlds == null) return false; worlds.clear(); + this.changed(); return true; } @@ -120,10 +123,11 @@ public class Multiverse extends Entity { if (this.getUniverseForWorldName(worldName).equals(universe)) return false; this.removeWorld(worldName); - if (!universe.equals(MassiveCore.DEFAULT)) + if ( ! universe.equals(MassiveCore.DEFAULT)) { this.newUniverse(universe).add(worldName); } + this.changed(); return true; } @@ -161,7 +165,11 @@ public class Multiverse extends Entity { for (Set worldNames : this.uw.values()) { - if (worldNames.remove(worldName)) return true; + if (worldNames.remove(worldName)) + { + this.changed(); + return true; + } } return false; }