From c314535962ed0c342dde5874c53819d5a2af8f60 Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Sat, 25 Jan 2025 01:22:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E4=BA=BA=E7=A7=B0=E7=A6=81?= =?UTF-8?q?=E7=94=A8=E6=9B=B4=E7=9C=9F=E5=AE=9E=E7=9A=84=E9=A3=9E=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/atsuishio/superbwarfare/mixins/MouseHandlerMixin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/atsuishio/superbwarfare/mixins/MouseHandlerMixin.java b/src/main/java/com/atsuishio/superbwarfare/mixins/MouseHandlerMixin.java index f68142217..5d63f0e39 100644 --- a/src/main/java/com/atsuishio/superbwarfare/mixins/MouseHandlerMixin.java +++ b/src/main/java/com/atsuishio/superbwarfare/mixins/MouseHandlerMixin.java @@ -95,6 +95,7 @@ public class MouseHandlerMixin { Player player = mc.player; if (player == null) return d; + if (mc.options.getCameraType() != CameraType.FIRST_PERSON) return d; if (player.getVehicle() instanceof VehicleEntity vehicle) { x = d; @@ -122,6 +123,7 @@ public class MouseHandlerMixin { Player player = mc.player; if (player == null) return d; + if (mc.options.getCameraType() != CameraType.FIRST_PERSON) return d; if (player.getVehicle() instanceof VehicleEntity vehicle) { y = d;