mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-27 17:09:43 +00:00
Error in logic
This commit is contained in:
parent
b0187698b9
commit
27e9e3aa88
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue