mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2025-04-20 01:27:07 +00:00
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()) {
|
for (Map.Entry<String, UUID> entry : uuidMap1.entrySet()) {
|
||||||
if (entry.getKey().equalsIgnoreCase(player)) {
|
if (entry.getKey().equalsIgnoreCase(player)) {
|
||||||
|
lock.writeLock().lock();
|
||||||
try {
|
try {
|
||||||
uuidMap.put(entry.getKey(), entry.getValue());
|
uuidMap.put(entry.getKey(), entry.getValue());
|
||||||
} finally {
|
} finally {
|
||||||
|
Loading…
Reference in New Issue
Block a user