diff options
author | Wesley Wolfe <weswolf@aol.com> | 2013-10-30 04:22:00 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-10-30 04:22:00 -0500 |
commit | 7aabcb2ab3cfeb6d98ecbd8bc14cc5fad6ffa345 (patch) | |
tree | 4d291e53ba5c9b6eb631d66f960aff9355d8b010 /src/main/java/org | |
parent | 84237bb783a08e330ba6539fe98c87681f7dda63 (diff) | |
download | craftbukkit-7aabcb2ab3cfeb6d98ecbd8bc14cc5fad6ffa345.tar craftbukkit-7aabcb2ab3cfeb6d98ecbd8bc14cc5fad6ffa345.tar.gz craftbukkit-7aabcb2ab3cfeb6d98ecbd8bc14cc5fad6ffa345.tar.lz craftbukkit-7aabcb2ab3cfeb6d98ecbd8bc14cc5fad6ffa345.tar.xz craftbukkit-7aabcb2ab3cfeb6d98ecbd8bc14cc5fad6ffa345.zip |
Don't share WorldMapCollection. Fixes BUKKIT-4871
WorldMapCollection stores scoreboard, map (item), structure, and
village information. Scoreboards are explicitly handled globally,
while villages and structures are erroneously shared.
This commit separates the WorldMapCollections to not be shared among
custom worlds. Maps are special-cased to maintain the previous shared
behavior.
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 85be77eb..d140c4f8 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -730,7 +730,6 @@ public final class CraftServer implements Server { return null; } - internal.worldMaps = console.worlds.get(0).worldMaps; internal.scoreboard = getScoreboardManager().getMainScoreboard().getHandle(); internal.tracker = new EntityTracker(internal); |