Fixes around character sheets and buttons
Release Creation / build (release) Successful in 44s

This commit is contained in:
2026-05-19 13:30:05 +02:00
parent 1b10a77748
commit 12bf771e9d
69 changed files with 185 additions and 109 deletions
@@ -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