This commit is contained in:
@@ -30,7 +30,7 @@ export default class MGNECreatureSheet extends MGNEActorSheet {
|
||||
async _prepareContext() {
|
||||
const context = await super._prepareContext()
|
||||
context.traits = (this.document.itemTypes["creature-trait"] ?? [])
|
||||
.map(i => ({ ...i, tooltip: stripHtml(i.system.description) }))
|
||||
.map(i => ({ id: i.id, name: i.name, img: i.img, system: i.system, tooltip: stripHtml(i.system.description) }))
|
||||
|
||||
// Resolve linked action table
|
||||
const uuid = this.document.system.actionTableUuid
|
||||
|
||||
Reference in New Issue
Block a user