From 73717278ff37e96820160cdb62826065201e6d11 Mon Sep 17 00:00:00 2001 From: bm01 Date: Wed, 9 May 2012 11:38:22 +0200 Subject: [PATCH] Fixed /party not showing properly the member list --- Changelog.txt | 1 + .../java/com/gmail/nossr50/commands/party/PartyCommand.java | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index e5362f138..abaca45e3 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -23,6 +23,7 @@ Version 1.3.07 = Fixed bug where an arrow could bounce off entities on daze proc = Fixed bug where a player could gain Acrobatics experience while riding a cart = Fixed /party not working properly with 2 arguments + = Fixed /party not showing properly the member list = Fixed /ability not checking the right permission = Fixed rare NPE on /party command = Fixed Arrow Retrieval dropping only one arrow diff --git a/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java b/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java index 4a2ddf14f..a1b49f203 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java @@ -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 }));