From aeda194571efe523d6a2eebb5caf447f251bd6a6 Mon Sep 17 00:00:00 2001 From: Adam Balan Date: Thu, 28 Nov 2024 12:00:43 -0700 Subject: [PATCH] Added a new console.log to see if the events are being listened to and registered properly --- .../timers/event-listeners/action-timer-listeners.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/js/game/components/timers/event-listeners/action-timer-listeners.ts b/resources/js/game/components/timers/event-listeners/action-timer-listeners.ts index 6baf66dcb..2e9cae158 100644 --- a/resources/js/game/components/timers/event-listeners/action-timer-listeners.ts +++ b/resources/js/game/components/timers/event-listeners/action-timer-listeners.ts @@ -34,6 +34,8 @@ export default class ActionTimerListeners implements ActionTimerListener { this.craftingTimeout = echo.private( "show-crafting-timeout-bar-" + this.userId, ); + + console.log(this.attackTimeout, this.craftingTimeout); } catch (e: any | unknown) { throw new Error(e); } @@ -52,7 +54,6 @@ export default class ActionTimerListeners implements ActionTimerListener { this.attackTimeout.listen( "Game.Core.Events.ShowTimeOutEvent", (event: any) => { - console.log(event); if (!this.component) { return; }