From 7009c1aa890bac349b2a73a4a57eb06b1c3c0131 Mon Sep 17 00:00:00 2001 From: Frostygames0 <39121739+Frostygames0@users.noreply.github.com> Date: Sat, 5 Mar 2022 18:19:22 +0300 Subject: [PATCH] Fixed swim speed attribute (#8499) --- .../net/minecraft/world/entity/LivingEntity.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/entity/LivingEntity.java.patch b/patches/minecraft/net/minecraft/world/entity/LivingEntity.java.patch index e067c4055e..f30dd51b65 100644 --- a/patches/minecraft/net/minecraft/world/entity/LivingEntity.java.patch +++ b/patches/minecraft/net/minecraft/world/entity/LivingEntity.java.patch @@ -389,7 +389,7 @@ f4 = 0.96F; } -+ f6 *= (float)this.m_21051_(net.minecraftforge.common.ForgeMod.SWIM_SPEED.get()).m_22135_(); ++ f5 *= (float)this.m_21051_(net.minecraftforge.common.ForgeMod.SWIM_SPEED.get()).m_22135_(); this.m_19920_(f5, p_21280_); this.m_6478_(MoverType.SELF, this.m_20184_()); Vec3 vec36 = this.m_20184_();