2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-22 20:28:00 +00:00

Forgot to get the writeLock()

This commit is contained in:
Tux 2014-05-30 23:29:51 -04:00
parent a908e313d4
commit 8bf80450ca

View File

@ -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 {