Fix teleport packet not being sent

This commit is contained in:
Németh Noel 2021-07-06 23:44:30 +02:00
parent f29ed48da9
commit 8849b6eec8

View File

@ -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) {