Added party disband command and a way to remove all users from a party

This commit is contained in:
2022-02-19 16:58:22 +01:00
committed by destro174
parent dcd8456612
commit 4571d191fd
5 changed files with 96 additions and 0 deletions
@@ -98,6 +98,9 @@ public class Party {
}
public void delete() {
if (partyUsers.size() != 0) {
Queries.removeAllPartyUsers(partyUsers);
}
Queries.removeParty(partyId);
PartyManager.removeParty(this);
}