[Fix] Party Fixes (#1284)

* Fixed deletion of characters in the world locking up the party actor

* .

* Fixed so leader in group roll gains resourcse

* Fixed so party.inventory has the right controls

* Corrected for added character purning

* .
This commit is contained in:
WBHarry 2025-11-16 01:52:19 +01:00 committed by GitHub
parent 7df43d71e0
commit 481ce46edf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 104 additions and 67 deletions

View file

@ -41,7 +41,7 @@ export default class DhParty extends BaseDataActor {
// Clear this party from all members that aren't deleted
for (const member of this.partyMembers) {
member.parties?.delete(this.parent);
member?.parties?.delete(this.parent);
}
}
}