diff --git a/src/events/loader.ts b/src/events/loader.ts index eebf8a6..58c966b 100644 --- a/src/events/loader.ts +++ b/src/events/loader.ts @@ -51,7 +51,6 @@ export default async (client: Client, isDev: boolean) => { } if (event_category === "player") { - const player = useMainPlayer() as Player; if (once) { // eslint-disable-next-line return player.events.once(event_type as keyof PlayerEvents, (...args: any[]) => {