Paper/nms-patches/DefinedStructureManager.patch

12 lines
521 B
Diff
Raw Normal View History

--- a/net/minecraft/server/DefinedStructureManager.java
+++ b/net/minecraft/server/DefinedStructureManager.java
2020-06-25 02:00:00 +02:00
@@ -19,7 +19,7 @@
public class DefinedStructureManager {
private static final Logger LOGGER = LogManager.getLogger();
- private final Map<MinecraftKey, DefinedStructure> b = Maps.newHashMap();
+ private final Map<MinecraftKey, DefinedStructure> b = Maps.newConcurrentMap(); // SPIGOT-5287
private final DataFixer c;
2020-06-25 02:00:00 +02:00
private IResourceManager d;
private final java.nio.file.Path e;