From 87c45853ba3831628836f7d9704c883697f14784 Mon Sep 17 00:00:00 2001 From: Evan Date: Fri, 24 Jan 2025 10:34:02 -0800 Subject: [PATCH] remove mode is not player warning --- src/core/execution/PlayerExecution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execution/PlayerExecution.ts b/src/core/execution/PlayerExecution.ts index 2a9fbcafb..22e03b9b9 100644 --- a/src/core/execution/PlayerExecution.ts +++ b/src/core/execution/PlayerExecution.ts @@ -156,7 +156,6 @@ export class PlayerExecution implements Execution { } const mode = getMode(result) if (!this.mg.playerBySmallID(mode).isPlayer()) { - consolex.warn('mode is not found') return } const firstTile = cluster.values().next().value @@ -166,6 +165,7 @@ export class PlayerExecution implements Execution { const modePlayer = this.mg.playerBySmallID(mode) if (!modePlayer.isPlayer()) { consolex.warn('mode player is null') + return } for (const tile of tiles) { (modePlayer as Player).conquer(tile)