From cebb672bedbce29cb8208d2dc9a7afdb33d276d2 Mon Sep 17 00:00:00 2001 From: Tyler Metevier Date: Thu, 2 May 2024 10:54:37 -0400 Subject: [PATCH] Creatures not in bestiary now render correctly in Combatant (#273) --- src/tracker/view.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tracker/view.ts b/src/tracker/view.ts index 2520876..019f859 100644 --- a/src/tracker/view.ts +++ b/src/tracker/view.ts @@ -145,8 +145,7 @@ export class CreatureView extends ItemView { await this.renderEmbed(creature.getStatblockLink()); } else if (this.plugin.canUseStatBlocks) { const statblock = window.FantasyStatblocks.render( - //@ts-ignore - creature, + creature.creature, this.statblockEl, creature.display );