Fix player getting stuck after changing dimension

This commit is contained in:
themode 2021-03-07 22:22:04 +01:00
parent c20cf38399
commit b8e987f556

View File

@ -712,6 +712,7 @@ public class Player extends LivingEntity implements CommandSender {
if (chunk != null) { if (chunk != null) {
refreshVisibleChunks(chunk); refreshVisibleChunks(chunk);
} }
updatePlayerPosition(); // So the player doesn't get stuck when changing dimension
} }
PlayerSpawnEvent spawnEvent = new PlayerSpawnEvent(this, instance, firstSpawn); PlayerSpawnEvent spawnEvent = new PlayerSpawnEvent(this, instance, firstSpawn);