mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-10 02:17:41 +01:00
Fix players being stuck on first connection when no respawn point is defined
This commit is contained in:
parent
8ab29368a6
commit
a25e414754
@ -715,7 +715,7 @@ public class Player extends LivingEntity implements CommandSender {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dimensionChange) {
|
if (dimensionChange || firstSpawn) {
|
||||||
updatePlayerPosition(); // So the player doesn't get stuck
|
updatePlayerPosition(); // So the player doesn't get stuck
|
||||||
this.inventory.update();
|
this.inventory.update();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user