From 95693fb77727ffbaf0386718d3879c22e2841614 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 5 Sep 2024 20:08:21 +1000 Subject: [PATCH] fix(server/player): type correction --- server/player/loading.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/player/loading.ts b/server/player/loading.ts index fe525a41..ca3f1ed7 100644 --- a/server/player/loading.ts +++ b/server/player/loading.ts @@ -1,10 +1,10 @@ -import { OxPlayer, PlayerInstance } from 'player/class'; +import { OxPlayer } from 'player/class'; import { CreateUser, GetUserIdFromIdentifier } from './db'; import { GetIdentifiers, GetPlayerLicense } from 'utils'; import { DEBUG, SV_LAN } from '../config'; import type { Dict } from 'types'; -const connectingPlayers: Dict = {}; +const connectingPlayers: Dict = {}; /** Loads existing data for the player, or inserts new data into the database. */ async function loadPlayer(playerId: number) {