mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
Fixed so that actionFields correctly grab a uuid for actions that are directly on an actor
This commit is contained in:
parent
668dbdf8f4
commit
83f0944a20
2 changed files with 8 additions and 2 deletions
|
|
@ -152,7 +152,13 @@ export function ActionMixin(Base) {
|
|||
}
|
||||
|
||||
get uuid() {
|
||||
if (!(this.item instanceof game.system.api.documents.DHItem)) return null;
|
||||
if (
|
||||
!(
|
||||
(this.item instanceof game.system.api.documents.DHItem) |
|
||||
(this.item instanceof game.system.api.documents.DhpActor)
|
||||
)
|
||||
)
|
||||
return null;
|
||||
return `${this.item.uuid}.${this.documentName}.${this.id}`;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"id": "daggerheart",
|
||||
"title": "Daggerheart",
|
||||
"description": "An unofficial implementation of the Daggerheart system",
|
||||
"version": "1.6.2",
|
||||
"version": "1.6.3",
|
||||
"compatibility": {
|
||||
"minimum": "13.346",
|
||||
"verified": "13.351",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue