mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-15 10:45:35 +01:00
Update fabric loader and api
This commit is contained in:
parent
77c3a004b4
commit
036f3e083b
@ -5,8 +5,8 @@ org.gradle.parallel=true
|
||||
# Minecraft/Fabric
|
||||
minecraft_version=1.20.4
|
||||
yarn_mappings=1.20.4+build.3
|
||||
loader_version=0.15.7
|
||||
fabric_api_version=0.96.11+1.20.4
|
||||
loader_version=0.15.10
|
||||
fabric_api_version=0.97.0+1.20.4
|
||||
|
||||
# Project Details
|
||||
mod_version=3.1.1-SNAPSHOT
|
||||
|
@ -189,7 +189,7 @@ public abstract class MixinLivingEntity extends Entity {
|
||||
|
||||
@Redirect(method = "tick", at = @At(value = "INVOKE", target = "Lnet/minecraft/util/math/MathHelper;abs(F)F"))
|
||||
private float alwaysRotateWhenWalkingBackwards(float value) {
|
||||
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_12)) {
|
||||
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_11_1)) {
|
||||
return 0F;
|
||||
} else {
|
||||
return MathHelper.abs(value);
|
||||
|
Loading…
Reference in New Issue
Block a user