Forgot to get the writeLock()

This commit is contained in:
Tux 2014-05-30 23:29:51 -04:00
parent a908e313d4
commit 8bf80450ca
1 changed files with 1 additions and 0 deletions

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 {