diff --git a/src/main.ts b/src/main.ts index 7a9ccae9..da071111 100644 --- a/src/main.ts +++ b/src/main.ts @@ -97,6 +97,7 @@ export default class InitiativeTracker extends Plugin { } getPlayerByName(name: string) { + if (!this.playerCreatures.has(name)) return new Creature({ name }); return Creature.from(this.playerCreatures.get(name)); } getPlayersForParty(party: string) {