Update sheet

This commit is contained in:
LeRatierBretonnien 2023-01-23 20:50:48 +01:00
parent ccb3a458c0
commit 727db74545
2 changed files with 4 additions and 5 deletions

View File

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

View File

@ -17,8 +17,7 @@
"version": "10.5.2",
"compatibility": {
"minimum": "10",
"verified": "10",
"maximum": "10"
"verified": "10"
},
"esmodules": [
"module/bol.js"