From 5a8be1c48300ef2908bac82031d30ae9000cb479 Mon Sep 17 00:00:00 2001 From: Slayer55555 Date: Tue, 7 Oct 2025 07:34:51 -0700 Subject: [PATCH] remove slice --- src/services/worldStateService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index 0d87a57c..9b03bf17 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -1568,7 +1568,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => { const voidCorruptionWeeks = config.worldState?.voidCorruption ?? 0; if (voidCorruptionWeeks > 0) { - worldState.Alerts = [...worldState.Alerts, ...voidCorruptionAlerts.slice(0, voidCorruptionWeeks)]; + worldState.Alerts = [...worldState.Alerts, voidCorruptionAlerts[voidCorruptionWeeks - 1]]; } const isFebruary = date.getUTCMonth() == 1;