mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Fix teleport packet not being sent
This commit is contained in:
parent
f29ed48da9
commit
8849b6eec8
@ -77,7 +77,7 @@ public class Navigator {
|
||||
final CollisionUtils.PhysicsResult physicsResult = CollisionUtils.handlePhysics(entity, new Vec(speedX, speedY, speedZ));
|
||||
|
||||
// Will move the entity during Entity#tick
|
||||
entity.refreshPosition(physicsResult.newPosition());
|
||||
entity.teleport(physicsResult.newPosition());
|
||||
}
|
||||
|
||||
public void jump(float height) {
|
||||
|
Loading…
Reference in New Issue
Block a user