mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-11 18:41:31 +00:00
fix respawn
This commit is contained in:
parent
4cfcfe9277
commit
ebed98d85f
1 changed files with 2 additions and 2 deletions
|
|
@ -10,8 +10,8 @@ module.exports.player=function(player)
|
|||
});
|
||||
player.sendPosition();
|
||||
player.updateHealth(20);
|
||||
player.nearbyPlayers=[];
|
||||
player.updateAndSpawnNearbyPlayers();
|
||||
player.entity.nearbyEntities=[];
|
||||
player.entity.updateAndSpawn();
|
||||
}
|
||||
});
|
||||
};
|
||||
Loading…
Reference in a new issue