From e6a73ef36c1bdfb0053c2c122f1c71d376d44651 Mon Sep 17 00:00:00 2001 From: ferriarnus <61201275+ferriarnus@users.noreply.github.com> Date: Thu, 9 Jun 2022 20:41:51 +0200 Subject: [PATCH] Fixed misaligned patch to invalidateCaps in Entity (#8705) --- .../net/minecraft/world/entity/Entity.java.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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_);