mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-18 21:34:43 +02:00
Use equalsIgnoreCase() instead of equals(), and use == for compaing
worlds. Fixes #815
This commit is contained in:
@ -40,7 +40,7 @@ public class PartyRenameCommand implements CommandExecutor {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!member.getName().equals(leaderName)) {
|
||||
if (!member.getName().equalsIgnoreCase(leaderName)) {
|
||||
member.sendMessage(LocaleLoader.getString("Party.InformedOnNameChange", leaderName, newPartyName));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user