summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElgarL <ElgarL@Palmergames.com>2014-05-04 17:10:37 +0100
committerElgarL <ElgarL@Palmergames.com>2014-05-04 17:10:37 +0100
commit9c3d965371209d135737f5a3b57d49eb568aff8b (patch)
treedd9db3473996ca88f22f31e0387aad700a6c3649
parent578aec35ebffc002215f802c488145787e8dc54e (diff)
downloadEssentials-9c3d965371209d135737f5a3b57d49eb568aff8b.tar
Essentials-9c3d965371209d135737f5a3b57d49eb568aff8b.tar.gz
Essentials-9c3d965371209d135737f5a3b57d49eb568aff8b.tar.lz
Essentials-9c3d965371209d135737f5a3b57d49eb568aff8b.tar.xz
Essentials-9c3d965371209d135737f5a3b57d49eb568aff8b.zip
Error in logic
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
index a6312ae70..f2a43d11e 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
@@ -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);