From 22f36e7c188e21b3116e1a669c3ddb332fc6f81f Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Thu, 14 Aug 2025 11:41:53 -0400 Subject: [PATCH] Update phase-manager.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/phase-manager.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/phase-manager.ts b/src/phase-manager.ts index 4dfb1a1176f..2c7bb8c61fc 100644 --- a/src/phase-manager.ts +++ b/src/phase-manager.ts @@ -378,10 +378,6 @@ export class PhaseManager { // Bang is justified as `populatePhaseQueue` ensures we always have _something_ in the queue at all times this.currentPhase = this.phaseQueue.shift()!; - // TODO: Remove proof-of-concept error throw after test suite passes - if (!this.currentPhase) { - throw new Error("currentPhase was null after being started!"); - } const unactivatedConditionalPhases: [() => boolean, Phase][] = []; // Check if there are any conditional phases queued