From 4ac5fcd821e61b309dbb4b8737a1f7acfdaeaa3c Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 30 Oct 2013 04:22:00 -0500 Subject: [PATCH] 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. By: Wesley Wolfe --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 85be77ebec..d140c4f8c7 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/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);