mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fixed /party disband
This commit is contained in:
parent
6eb255632f
commit
ceacd7dc52
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user