mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
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 <weswolf@aol.com>
This commit is contained in:
parent
804dc8f841
commit
4ac5fcd821
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue