mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 08:23:38 +02: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() {
|
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}`;
|
return `${this.item.uuid}.${this.documentName}.${this.id}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "daggerheart",
|
"id": "daggerheart",
|
||||||
"title": "Daggerheart",
|
"title": "Daggerheart",
|
||||||
"description": "An unofficial implementation of the Daggerheart system",
|
"description": "An unofficial implementation of the Daggerheart system",
|
||||||
"version": "1.6.2",
|
"version": "1.6.3",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "13.346",
|
"minimum": "13.346",
|
||||||
"verified": "13.351",
|
"verified": "13.351",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue