mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-24 17:21:43 +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.sendPosition();
|
||||||
player.updateHealth(20);
|
player.updateHealth(20);
|
||||||
player.nearbyPlayers=[];
|
player.entity.nearbyEntities=[];
|
||||||
player.updateAndSpawnNearbyPlayers();
|
player.entity.updateAndSpawn();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
Loading…
Reference in a new issue