UUID Migration Perf Tweak
Another minor tweak to save time.
This commit is contained in:
1 parent
67978608d8
commit
9035f94df2
1 file changed
+2
-2
@@ -60,8 +60,8 @@ class UUIDFetcher {
|
|||||||
{
|
{
|
||||||
GriefPrevention.AddLogEntry(name + " --> " + player.getName());
|
GriefPrevention.AddLogEntry(name + " --> " + player.getName());
|
||||||
names.set(i, player.getName());
|
names.set(i, player.getName());
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -82,8 +82,8 @@ class UUIDFetcher {
|
|||||||
lookupCache.put(name, uuid);
|
lookupCache.put(name, uuid);
|
||||||
lookupCache.put(name.toLowerCase(), uuid);
|
lookupCache.put(name.toLowerCase(), uuid);
|
||||||
names.remove(i--);
|
names.remove(i--);
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user