Forgot to get the writeLock()
This commit is contained in:
parent
a908e313d4
commit
8bf80450ca
|
@ -110,6 +110,7 @@ public class UUIDTranslator {
|
|||
}
|
||||
for (Map.Entry<String, UUID> entry : uuidMap1.entrySet()) {
|
||||
if (entry.getKey().equalsIgnoreCase(player)) {
|
||||
lock.writeLock().lock();
|
||||
try {
|
||||
uuidMap.put(entry.getKey(), entry.getValue());
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue