UUID Migration Perf Tweak

Another minor tweak to save time.
This commit is contained in:
ryanhamshire 2014-10-09 16:06:59 -07:00
parent 67978608d8
commit 9035f94df2

View File

@ -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;
} }
} }
} }