From 4611d7168e0011e19e7ea37c48b3ab0b484aaaf2 Mon Sep 17 00:00:00 2001 From: 17146 <1714673995@qq.com> Date: Fri, 3 Jan 2025 21:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D=E8=BD=BD?= =?UTF-8?q?=E5=85=B7=E4=B9=98=E5=9D=90=E9=97=AE=E9=A2=98#2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/atsuishio/superbwarfare/entity/VehicleEntity.java | 4 ---- 1 file changed, 4 deletions(-) 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; } }