mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16: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
|
* @param party The party to remove
|
||||||
*/
|
*/
|
||||||
public static void disbandParty(Party party) {
|
public static void disbandParty(Party party) {
|
||||||
for (String memberName : party.getMembers()) {
|
for (Player member : party.getOnlineMembers()) {
|
||||||
processPartyLeaving(UserManager.getPlayer(memberName));
|
processPartyLeaving(UserManager.getPlayer(member));
|
||||||
}
|
}
|
||||||
|
|
||||||
parties.remove(party);
|
parties.remove(party);
|
||||||
|
Loading…
Reference in New Issue
Block a user