Use equalsIgnoreCase() instead of equals(), and use == for compaing

worlds.

Fixes #815
This commit is contained in:
GJ
2013-03-10 17:07:07 -04:00
parent 8059636b62
commit 9eba2c683b
9 changed files with 16 additions and 16 deletions

View File

@ -35,7 +35,7 @@ public class PartyInfoCommand implements CommandExecutor {
StringBuilder memberList = new StringBuilder();
for (OfflinePlayer member : playerParty.getMembers()) {
if (playerParty.getLeader().equals(member.getName())) {
if (playerParty.getLeader().equalsIgnoreCase(member.getName())) {
memberList.append(ChatColor.GOLD).append(member.getName()).append(" ");
}
else if (member.isOnline()) {