1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-07-31 03:40:52 +02:00

Prevent plugins which run their PlayerJoinEvent too early from breaking the name to UUID lookups.

No plugin bar permission plugins shoud be running on Lowest for the PlayerJoinEvent
This commit is contained in:
ElgarL
2014-06-19 21:40:01 +01:00
parent 2e0a1dde85
commit f336e54b67

View File

@@ -121,7 +121,7 @@ public class WorldDataHolder {
}
// Legacy name matching
if (userId.length() < 36) {
if ((userId.length() < 36) && nameToUUIDLookup.containsKey(userId)) {
// Search for a name to UUID match
for (String uid : getUUIDLookup(userId)) {