Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-5287: Fix rare CME generating new chunks
Dieser Commit ist enthalten in:
Ursprung
3fc97f086d
Commit
edd8fdfbe9
11
nms-patches/DefinedStructureManager.patch
Normale Datei
11
nms-patches/DefinedStructureManager.patch
Normale Datei
@ -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;
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren