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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user