mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-04-17 19:12:14 +02:00
Set ground status to false for teleports
This commit is contained in:
parent
ae130cf5a5
commit
9e65b502af
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ public class JavaPlayerPositionTranslator extends PacketTranslator<ClientboundPl
|
|||
Vector3f lastPlayerPosition = entity.getPosition().down(EntityDefinitions.PLAYER.offset());
|
||||
float lastPlayerPitch = entity.getPitch();
|
||||
Vector3f teleportDestination = Vector3f.from(newX, newY, newZ);
|
||||
entity.moveAbsolute(teleportDestination, newYaw, newPitch, true, true);
|
||||
entity.moveAbsolute(teleportDestination, newYaw, newPitch, false, true);
|
||||
|
||||
session.getGeyser().getLogger().debug("to " + entity.getPosition().getX() + " " + (entity.getPosition().getY() - EntityDefinitions.PLAYER.offset()) + " " + entity.getPosition().getZ());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue