diff --git a/module/data/fields/actionField.mjs b/module/data/fields/actionField.mjs index 4cadeac4..9c006beb 100644 --- a/module/data/fields/actionField.mjs +++ b/module/data/fields/actionField.mjs @@ -152,9 +152,8 @@ export function ActionMixin(Base) { } get uuid() { - const isItem = this.item instanceof game.system.api.documents.DHItem; - const isActor = this.item instanceof game.system.api.documents.DhpActor; - return isItem || isActor ? `${this.item.uuid}.${this.documentName}.${this.id}` : null; + if (!(this.item instanceof game.system.api.documents.DHItem)) return null; + return `${this.item.uuid}.${this.documentName}.${this.id}`; } get sheet() { diff --git a/module/documents/item.mjs b/module/documents/item.mjs index 67f7d253..fe62c5bd 100644 --- a/module/documents/item.mjs +++ b/module/documents/item.mjs @@ -185,10 +185,7 @@ export default class DHItem extends foundry.documents.Item { tags: this._getTags() }, actions: item.system.actionsList, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.system.description, { - relativeTo: this.parent, - rollData: this.parent?.getRollData() ?? {} - }) + description: this.system.description }; const msg = { diff --git a/system.json b/system.json index 323cf00d..90ebf11d 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "daggerheart", "title": "Daggerheart", "description": "An unofficial implementation of the Daggerheart system", - "version": "1.6.3", + "version": "1.6.2", "compatibility": { "minimum": "13.346", "verified": "13.351",