From 0a707236e14e55d6eac4adf94c8e5ddca8faec2b Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sun, 11 Jan 2015 11:12:54 +0100 Subject: [PATCH] fix shouldRefresh being too broad in tile entity update --- patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch b/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch index 802517bd2..ed5c14cf0 100644 --- a/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch +++ b/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch @@ -258,7 +258,7 @@ + int y = tileentity.field_145848_d; + int z = tileentity.field_145849_e & 15; + Block block = tileentity.func_145838_q(); -+ if (tileentity.shouldRefresh(block, func_150810_a(x, y, z), tileentity.field_145847_g, this.func_76628_c(x, y, z), field_76637_e, x, y, z)) ++ if ((block != func_150810_a(x, y, z) || tileentity.field_145847_g != this.func_76628_c(x, y, z)) && tileentity.shouldRefresh(block, func_150810_a(x, y, z), tileentity.field_145847_g, this.func_76628_c(x, y, z), field_76637_e, x, y, z)) + { + invalidList.add(tileentity); + }