Fixed /party disband

This commit is contained in:
TfT_02 2013-09-30 10:39:14 +02:00
parent 6eb255632f
commit ceacd7dc52

View File

@ -246,8 +246,8 @@ public final class PartyManager {
* @param party The party to remove
*/
public static void disbandParty(Party party) {
for (String memberName : party.getMembers()) {
processPartyLeaving(UserManager.getPlayer(memberName));
for (Player member : party.getOnlineMembers()) {
processPartyLeaving(UserManager.getPlayer(member));
}
parties.remove(party);