mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-06 11:40:46 +00:00
fix changing world
This commit is contained in:
parent
738ac51ce2
commit
78149b646e
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ function inject(serv, player) {
|
||||||
});
|
});
|
||||||
player.entity.position=player.spawnPoint.toFixedPosition();
|
player.entity.position=player.spawnPoint.toFixedPosition();
|
||||||
player.sendSpawnPosition();
|
player.sendSpawnPosition();
|
||||||
player.updateAndSpawnNearbyPlayers();
|
player.entity.updateAndSpawn();
|
||||||
|
|
||||||
await player.sendMap();
|
await player.sendMap();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue