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

This commit is contained in:
2022-01-31 03:06:52 +01:00
parent 032d0e2bef
commit 0c8a4a97d3
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);
}