diff --git a/modules/mournblade-item-sheet.js b/modules/mournblade-item-sheet.js index 540bc71..367b00c 100644 --- a/modules/mournblade-item-sheet.js +++ b/modules/mournblade-item-sheet.js @@ -68,8 +68,8 @@ export class MournbladeItemSheet extends ItemSheet { isGM: game.user.isGM } - if ( objectData.type =="don") { - sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true}) + if ( objectData.type == "don") { + formData.sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true}) } //this.options.editable = !(this.object.origin == "embeddedItem"); console.log("ITEM DATA", formData, this); diff --git a/system.json b/system.json index 7d882dd..86e23a1 100644 --- a/system.json +++ b/system.json @@ -1,7 +1,7 @@ { "id": "fvtt-mournblade", "description": "Mournblade RPG for FoundryVTT", - "version": "10.0.10", + "version": "10.0.11", "authors": [ { "name": "Uberwald/LeRatierBretonnien", @@ -15,7 +15,7 @@ "gridUnits": "m", "license": "LICENSE.txt", "manifest": "https://www.uberwald.me/gitea/public/fvtt-mournblade/raw/branch/v10/system.json", - "download": "https://www.uberwald.me/gitea/public/fvtt-mournblade/archive/fvtt-mournblade-10.0.10.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-mournblade/archive/fvtt-mournblade-10.0.11.zip", "packs": [ { "type": "Item",