diff --git a/apps/game/server/bridge/ndcore/ndcore-server.ts b/apps/game/server/bridge/ndcore/ndcore-server.ts index 1a3902eef..bfd350fe3 100644 --- a/apps/game/server/bridge/ndcore/ndcore-server.ts +++ b/apps/game/server/bridge/ndcore/ndcore-server.ts @@ -66,7 +66,7 @@ export class NDCoreFramework implements Strategy { onStart(): void { on('onServerResourceStart', async (resource: string) => { - const NDCore = global.exports['ND-Core'].GetCoreObject(); + const NDCore = global.exports['ND_Core']; if (resource === GetCurrentResourceName()) { const onlinePlayers = NDCore.getPlayers() as NDPlayer[];