mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed bug where disbanded parties could still see alliance chat
This commit is contained in:
parent
840f3d9382
commit
833bc1b251
@ -260,6 +260,11 @@ public final class PartyManager {
|
|||||||
processPartyLeaving(UserManager.getPlayer(member));
|
processPartyLeaving(UserManager.getPlayer(member));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disband the alliance between the disbanded party and it's ally
|
||||||
|
if (party.getAlly() != null) {
|
||||||
|
party.getAlly().setAlly(null);
|
||||||
|
}
|
||||||
|
|
||||||
parties.remove(party);
|
parties.remove(party);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user