geforkt von Mirrors/Paper
Fix CME in CraftPersistentDataTypeRegistry
Dieser Commit ist enthalten in:
Ursprung
2bf4b6e53d
Commit
e80bb1adca
@ -121,7 +121,7 @@ public final class CraftPersistentDataTypeRegistry {
|
||||
}
|
||||
}
|
||||
|
||||
private final Map<Class, TagAdapter> adapters = new HashMap<>();
|
||||
private final Map<Class, TagAdapter> adapters = new java.util.concurrent.ConcurrentHashMap<>(); // Paper - Replace HashMap with ConcurrentHashMap to avoid CME
|
||||
|
||||
/**
|
||||
* Creates a suitable adapter instance for the primitive class type.
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren