Skip to content

Commit 95693fb

Browse files
committed
fix(server/player): type correction
1 parent 9cedac4 commit 95693fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/player/loading.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { OxPlayer, PlayerInstance } from 'player/class';
1+
import { OxPlayer } from 'player/class';
22
import { CreateUser, GetUserIdFromIdentifier } from './db';
33
import { GetIdentifiers, GetPlayerLicense } from 'utils';
44
import { DEBUG, SV_LAN } from '../config';
55
import type { Dict } from 'types';
66

7-
const connectingPlayers: Dict<PlayerInstance> = {};
7+
const connectingPlayers: Dict<OxPlayer> = {};
88

99
/** Loads existing data for the player, or inserts new data into the database. */
1010
async function loadPlayer(playerId: number) {

0 commit comments

Comments
 (0)