From 7aabcb2ab3cfeb6d98ecbd8bc14cc5fad6ffa345 Mon Sep 17 00:00:00 2001 From: Wesley Wolfe Date: Wed, 30 Oct 2013 04:22:00 -0500 Subject: 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. --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main/java/org') 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); -- cgit v1.2.3