From edd8fdfbe9b136ef2039e23222745197944daa65 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 26 Aug 2019 19:24:09 +1000 Subject: [PATCH] SPIGOT-5287: Fix rare CME generating new chunks --- nms-patches/DefinedStructureManager.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nms-patches/DefinedStructureManager.patch diff --git a/nms-patches/DefinedStructureManager.patch b/nms-patches/DefinedStructureManager.patch new file mode 100644 index 0000000000..d1bdcca564 --- /dev/null +++ b/nms-patches/DefinedStructureManager.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/DefinedStructureManager.java ++++ b/net/minecraft/server/DefinedStructureManager.java +@@ -20,7 +20,7 @@ + public class DefinedStructureManager implements IResourcePackListener { + + private static final Logger LOGGER = LogManager.getLogger(); +- private final Map b = Maps.newHashMap(); ++ private final Map b = Maps.newConcurrentMap(); // SPIGOT-5287 + private final DataFixer c; + private final MinecraftServer d; + private final java.nio.file.Path e;