Compare commits

..

No commits in common. "1d114633f56def775735a9acbc7d071bd650c51b" and "1c70b46639d5b4bae9440d7b74f1847248054d32" have entirely different histories.

3 changed files with 4 additions and 8 deletions

View file

@ -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() {

View file

@ -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 = {

View file

@ -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",