diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 43157f3..7360b54 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -153,8 +153,8 @@ export class BoLActorSheet extends ActorSheet { formData.bougette = this.actor.getBougette() formData.charType = this.actor.getCharType() formData.villainy = this.actor.getVillainy() - formData.biography = await TextEditor.enrichHTML(this.object.system.details.biography, {async: true}) - formData.notes = await TextEditor.enrichHTML(this.object.system.details.notes, {async: true}) + formData.biography = await TextEditor.enrichHTML(this.object.system.details?.biography || "", {async: true}) + formData.notes = await TextEditor.enrichHTML(this.object.system.details.notes || "", {async: true}) formData.isSorcerer = this.actor.isSorcerer() formData.isAlchemist = this.actor.isAlchemist() formData.isAstrologer = this.actor.isAstrologer() diff --git a/system.json b/system.json index 72ae92b..3033c83 100644 --- a/system.json +++ b/system.json @@ -17,8 +17,7 @@ "version": "10.5.2", "compatibility": { "minimum": "10", - "verified": "10", - "maximum": "10" + "verified": "10" }, "esmodules": [ "module/bol.js" @@ -209,4 +208,4 @@ "gridUnits": "m", "primaryTokenAttribute": "resources.hp", "secondaryTokenAttribute": "resources.hero" -} \ No newline at end of file +}