From ec0ddb64c9e3bc25c3cdb1b24edf641834518974 Mon Sep 17 00:00:00 2001 From: JustEvil <71156616+EvilG-MC@users.noreply.github.com> Date: Mon, 19 Aug 2024 21:12:16 -0600 Subject: [PATCH] fix: cache truco 2 (#247) --- src/cache/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache/index.ts b/src/cache/index.ts index e4752e9..8a298ec 100644 --- a/src/cache/index.ts +++ b/src/cache/index.ts @@ -175,7 +175,7 @@ export class Cache { this.bans = new Bans(this, client); } - if (!this.disabledCache.onPacket) delete this.onPacket; + if (this.disabledCache.onPacket) delete this.onPacket; } /** @internal */