Error in logic

This commit is contained in:
ElgarL 2014-05-04 17:10:37 +01:00 committed by KHobbits
parent b0187698b9
commit 27e9e3aa88

View File

@ -155,7 +155,7 @@ public class WorldDataHolder {
// Search for a LastName match
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
user = usr.clone(uUID, currentName);