Added party disband command and a way to remove all users from a party
This commit is contained in:
@@ -98,6 +98,9 @@ public class Party {
|
||||
}
|
||||
|
||||
public void delete() {
|
||||
if (partyUsers.size() != 0) {
|
||||
Queries.removeAllPartyUsers(partyUsers);
|
||||
}
|
||||
Queries.removeParty(partyId);
|
||||
PartyManager.removeParty(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user