mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-24 21:38:47 +01:00
Fix CME in CraftPersistentDataTypeRegistry
This commit is contained in:
parent
2bf4b6e53d
commit
e80bb1adca
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue