fix changing world

This commit is contained in:
Romain Beaumont 2015-11-16 19:50:33 +01:00
parent 738ac51ce2
commit 78149b646e

View file

@ -107,7 +107,7 @@ function inject(serv, player) {
});
player.entity.position=player.spawnPoint.toFixedPosition();
player.sendSpawnPosition();
player.updateAndSpawnNearbyPlayers();
player.entity.updateAndSpawn();
await player.sendMap();