From cbf663a3eb0161e0fb53e0423b4a286ec4a8bbca Mon Sep 17 00:00:00 2001 From: IceTank <61137113+IceTank@users.noreply.github.com> Date: Fri, 30 Sep 2022 19:27:16 +0200 Subject: [PATCH] Fix connect event typo (#1035) --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index b74b7c8..c522d7e 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -52,7 +52,7 @@ declare module 'minecraft-protocol' { once(event: 'sessionce', handler: (sessionce: any) => PromiseLike): this once(event: 'state', handler: (newState: States, oldState: States) => PromiseLike): this once(event: 'end', handler: (reasonce: string) => PromiseLike): this - once(event: 'concenect', handler: () => PromiseLike): this + once(event: 'connect', handler: () => PromiseLike): this once(event: string, handler: (data: any, packetMeta: PacketMeta) => PromiseLike): this once(event: `raw.${string}`, handler: (buffer: Buffer, packetMeta: PacketMeta) => PromiseLike): this }