Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Dec 23, 2023
1 parent 1e7db8f commit 2436413
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/src/game/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,12 @@ class Game {
player.client = client;
if(client.account) {
const account=client.account;
if(account.skins && account.skins.equipped) {
player.skin = account.skins.equipped;
player.sword.skin = player.skin;
} else {
console.log(account)
}
}
this.players.add(player);
this.map.spawnPlayer(player);
Expand Down

0 comments on commit 2436413

Please sign in to comment.