mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-25 01:21:26 +01:00
Error in logic
This commit is contained in:
parent
b0187698b9
commit
27e9e3aa88
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user