Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

servers/player/loading.ts has a bug in try catch logic #218

Open
darthxvaderxd opened this issue Nov 29, 2024 · 1 comment
Open

servers/player/loading.ts has a bug in try catch logic #218

darthxvaderxd opened this issue Nov 29, 2024 · 1 comment

Comments

@darthxvaderxd
Copy link

  player.username = GetPlayerName(player.source as string);
  player.userId = userId ? userId : await CreateUser(player.username, GetIdentifiers(playerId));
  player.identifier = identifier;

  DEV: console.info(`Loaded player data for OxPlayer<${player.userId}>`);

  return player;

It would seem this code needs to be moved into the try catch as this is failing during pnpm build

@subhampro
Copy link

ac962ef check this !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants