mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-10 02:17:41 +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) {
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user