mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-5287: Fix rare CME generating new chunks
By: md_5 <git@md-5.net>
This commit is contained in:
parent
03fbb7a6df
commit
c2ab89098d
1 changed files with 11 additions and 0 deletions
11
paper-server/nms-patches/DefinedStructureManager.patch
Normal file
11
paper-server/nms-patches/DefinedStructureManager.patch
Normal file
|
@ -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<MinecraftKey, DefinedStructure> b = Maps.newHashMap();
|
||||||
|
+ private final Map<MinecraftKey, DefinedStructure> b = Maps.newConcurrentMap(); // SPIGOT-5287
|
||||||
|
private final DataFixer c;
|
||||||
|
private final MinecraftServer d;
|
||||||
|
private final java.nio.file.Path e;
|
Loading…
Reference in a new issue