Merged with main

This commit is contained in:
WBHarry 2025-07-01 19:00:30 +02:00
commit 92ce2b4367
57 changed files with 1608 additions and 958 deletions

View file

@ -130,7 +130,11 @@ export class DHBaseAction extends foundry.abstract.DataModel {
}
get actor() {
return this.item instanceof DhpActor ? this.item : this.item?.actor;
return this.item instanceof DhpActor
? this.item
: this.item?.parent instanceof DhpActor
? this.item.parent
: this.item?.actor;
}
get chatTemplate() {