1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-05 06:07:54 +02:00

Error in logic

This commit is contained in:
ElgarL
2014-05-04 17:10:37 +01:00
committed by KHobbits
parent d79feefdbf
commit 3374dc2da8

View File

@@ -155,7 +155,7 @@ public class WorldDataHolder {
// Search for a LastName match // Search for a LastName match
for (User usr : getUserList()) { for (User usr : getUserList()) {
if (usr.getLastName().equalsIgnoreCase(currentName) && !usr.getUUID().equalsIgnoreCase(usr.getLastName())) { if (usr.getLastName().equalsIgnoreCase(currentName) && usr.getUUID().equalsIgnoreCase(usr.getLastName())) {
// Clone this user so we can set it's uUID // Clone this user so we can set it's uUID
user = usr.clone(uUID, currentName); user = usr.clone(uUID, currentName);