mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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