Fixed bug where disbanded parties could still see alliance chat

This commit is contained in:
TfT_02 2014-02-28 22:41:47 +01:00
parent 840f3d9382
commit 833bc1b251

View File

@ -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);
} }