diff --git a/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch b/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch index d9ba318ef7..27a4e6f0ce 100644 --- a/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch +++ b/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch @@ -163,6 +163,16 @@ float f = p_70665_2_ - f2; if (f > 0.0F && f < 3.4028235E37F) { this.func_195067_a(Stats.field_212738_J, Math.round(f * 10.0F)); +@@ -859,8 +_,8 @@ + if (f2 != 0.0F) { + this.func_71020_j(p_70665_1_.func_76345_d()); + float f1 = this.func_110143_aJ(); +- this.func_70606_j(this.func_110143_aJ() - f2); + this.func_110142_aN().func_94547_a(p_70665_1_, f1, f2); ++ this.func_70606_j(f1 - f2); // Forge: moved to fix MC-121048 + if (f2 < 3.4028235E37F) { + this.func_195067_a(Stats.field_188112_z, Math.round(f2 * 10.0F)); + } @@ -909,6 +_,8 @@ return ActionResultType.PASS;