diff --git a/patches/minecraft/net/minecraft/world/entity/Entity.java.patch b/patches/minecraft/net/minecraft/world/entity/Entity.java.patch index 96eedb2b7a..aa63ad6358 100644 --- a/patches/minecraft/net/minecraft/world/entity/Entity.java.patch +++ b/patches/minecraft/net/minecraft/world/entity/Entity.java.patch @@ -46,6 +46,14 @@ } public boolean m_20039_(BlockPos p_20040_, BlockState p_20041_) { +@@ -338,6 +_,7 @@ + + public void m_142687_(Entity.RemovalReason p_146834_) { + this.m_142467_(p_146834_); ++ this.invalidateCaps(); + } + + public void m_142036_() { @@ -623,7 +_,7 @@ double d1 = vec3.f_82479_; double d2 = vec3.f_82480_; @@ -95,14 +103,6 @@ } } -@@ -710,6 +_,7 @@ - this.m_146850_(GameEvent.f_157815_); - } - } -+ this.invalidateCaps(); - - } - @@ -728,10 +_,10 @@ int j = Mth.m_14107_(this.f_19825_.f_82480_ - (double)p_216987_); int k = Mth.m_14107_(this.f_19825_.f_82481_);