fix respawn

This commit is contained in:
Romain Beaumont 2015-11-17 00:32:05 +01:00
parent 4cfcfe9277
commit ebed98d85f

View file

@ -10,8 +10,8 @@ module.exports.player=function(player)
});
player.sendPosition();
player.updateHealth(20);
player.nearbyPlayers=[];
player.updateAndSpawnNearbyPlayers();
player.entity.nearbyEntities=[];
player.entity.updateAndSpawn();
}
});
};