From 0a5daa194b0cae8bf1b2f959ba33541d16ee0af2 Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 3 Jun 2016 15:29:14 -0700 Subject: [PATCH] Fixed client side ticking TileEntites after they are unloaded. Closes #2852 --- patches/minecraft/net/minecraft/world/World.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/minecraft/net/minecraft/world/World.java.patch b/patches/minecraft/net/minecraft/world/World.java.patch index 872c37ab6b..709f6a102c 100644 --- a/patches/minecraft/net/minecraft/world/World.java.patch +++ b/patches/minecraft/net/minecraft/world/World.java.patch @@ -350,6 +350,15 @@ throw new ReportedException(crashreport1); } } +@@ -1677,7 +1789,7 @@ + { + BlockPos blockpos = tileentity.func_174877_v(); + +- if (this.func_175667_e(blockpos) && this.field_175728_M.func_177746_a(blockpos)) ++ if (this.func_175668_a(blockpos, false) && this.field_175728_M.func_177746_a(blockpos)) //Forge: Fix TE's getting an extra tick on the client side.... + { + try + { @@ -1690,6 +1802,13 @@ CrashReport crashreport2 = CrashReport.func_85055_a(throwable, "Ticking block entity"); CrashReportCategory crashreportcategory2 = crashreport2.func_85058_a("Block entity being ticked");