Skip to content

Commit

Permalink
Added a new console.log to see if the events are being listened to an…
Browse files Browse the repository at this point in the history
…d registered properly
  • Loading branch information
AdamKyle committed Nov 28, 2024
1 parent 126cdb7 commit aeda194
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
}
Expand Down

0 comments on commit aeda194

Please sign in to comment.