第三人称禁用更真实的飞控
This commit is contained in:
parent
91067cc152
commit
c314535962
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,7 @@ public class MouseHandlerMixin {
|
||||||
Player player = mc.player;
|
Player player = mc.player;
|
||||||
|
|
||||||
if (player == null) return d;
|
if (player == null) return d;
|
||||||
|
if (mc.options.getCameraType() != CameraType.FIRST_PERSON) return d;
|
||||||
|
|
||||||
if (player.getVehicle() instanceof VehicleEntity vehicle) {
|
if (player.getVehicle() instanceof VehicleEntity vehicle) {
|
||||||
x = d;
|
x = d;
|
||||||
|
@ -122,6 +123,7 @@ public class MouseHandlerMixin {
|
||||||
Player player = mc.player;
|
Player player = mc.player;
|
||||||
|
|
||||||
if (player == null) return d;
|
if (player == null) return d;
|
||||||
|
if (mc.options.getCameraType() != CameraType.FIRST_PERSON) return d;
|
||||||
|
|
||||||
if (player.getVehicle() instanceof VehicleEntity vehicle) {
|
if (player.getVehicle() instanceof VehicleEntity vehicle) {
|
||||||
y = d;
|
y = d;
|
||||||
|
|
Loading…
Add table
Reference in a new issue