Fixed /party not showing properly the member list

This commit is contained in:
bm01
2012-05-09 11:38:22 +02:00
parent 5fa79926db
commit 73717278ff
2 changed files with 5 additions and 2 deletions

View File

@ -57,11 +57,13 @@ public class PartyCommand implements CommandExecutor {
for (Player p : partyInstance.getAllMembers(player)) {
if (p.equals(partyInstance.getPartyLeader(partyName))) {
tempList = ChatColor.GOLD + p.getName();
tempList += ChatColor.GOLD;
}
else {
tempList = ChatColor.WHITE + p.getName();
tempList += ChatColor.WHITE;
}
tempList += p.getName() + " ";
}
player.sendMessage(LocaleLoader.getString("Commands.Party.InParty", new Object[] { partyName }));