diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/VehicleEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/VehicleEntity.java index 4b1eb8f7e..57f05b42c 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/VehicleEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/VehicleEntity.java @@ -118,8 +118,6 @@ public class VehicleEntity extends Entity { return player.startRiding(this) ? InteractionResult.CONSUME : InteractionResult.PASS; } if (this.getPassengers().size() < this.getMaxPassengers()) { - player.setXRot(this.getXRot()); - player.setYRot(this.getYRot()); return player.startRiding(this) ? InteractionResult.CONSUME : InteractionResult.PASS; } } @@ -135,8 +133,6 @@ public class VehicleEntity extends Entity { return player.startRiding(this) ? InteractionResult.CONSUME : InteractionResult.PASS; } if (this.getPassengers().size() < this.getMaxPassengers()) { - player.setXRot(this.getXRot()); - player.setYRot(this.getYRot()); return player.startRiding(this) ? InteractionResult.CONSUME : InteractionResult.PASS; } }