Fix players being stuck on first connection when no respawn point is defined

This commit is contained in:
themode 2021-03-08 17:12:21 +01:00
parent 8ab29368a6
commit a25e414754
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ public class Player extends LivingEntity implements CommandSender {
}
}
if (dimensionChange) {
if (dimensionChange || firstSpawn) {
updatePlayerPosition(); // So the player doesn't get stuck
this.inventory.update();
}