Remove duplicate line in FoodData patch (#9424)

The line was accidentally duplicated in the 1.19.4 update and patching
process.

Fixes #9422
This commit is contained in:
sciwhiz12 authored and GitHub committed 2023-03-27 12:51:53 -07:00
1 parent ae65f5a255
commit b493a63fb6
1 file changed
+1 -4
@@ -1,10 +1,7 @@
--- a/net/minecraft/world/food/FoodData.java
+++ b/net/minecraft/world/food/FoodData.java
@@ -21,11 +_,18 @@
public void m_38707_(int p_38708_, float p_38709_) {
this.f_38696_ = Math.min(p_38708_ + this.f_38696_, 20);
@@ -23,9 +_,15 @@
this.f_38697_ = Math.min(this.f_38697_ + (float)p_38708_ * p_38709_ * 2.0F, (float)this.f_38696_);
+ this.f_38697_ = Math.min(this.f_38697_ + (float)p_38708_ * p_38709_ * 2.0F, (float)this.f_38696_);
}
+ // Use the LivingEntity sensitive version in favour of this.