mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 09:57:45 +01:00
Fix player getting stuck after changing dimension
This commit is contained in:
parent
c20cf38399
commit
b8e987f556
@ -712,6 +712,7 @@ public class Player extends LivingEntity implements CommandSender {
|
||||
if (chunk != null) {
|
||||
refreshVisibleChunks(chunk);
|
||||
}
|
||||
updatePlayerPosition(); // So the player doesn't get stuck when changing dimension
|
||||
}
|
||||
|
||||
PlayerSpawnEvent spawnEvent = new PlayerSpawnEvent(this, instance, firstSpawn);
|
||||
|
Loading…
Reference in New Issue
Block a user