Fixed eye height being affected when it shouldn't

This commit is contained in:
Sollace 2021-11-25 19:09:09 +02:00
parent 1ac35f1597
commit f7576bc83b

View file

@ -53,8 +53,10 @@ abstract class MixinClientPlayerEntity extends AbstractClientPlayerEntity implem
value += getVehicle().getEyeHeight(getVehicle().getPose());
value -= getVehicle().getMountedHeightOffset();
}
return Math.max(value, 0.1F);
}
return Math.max(value, 0.3F);
return value;
}
}