From b270839e918622d7808da97227d2c5ad8c36eb6a Mon Sep 17 00:00:00 2001 From: LexManos Date: Mon, 5 Dec 2016 13:07:41 -0800 Subject: [PATCH] Restore missed patch in World.updateComparatorOutputLevel. Closes #3495 --- .../net/minecraft/world/World.java.patch | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/World.java.patch b/patches/minecraft/net/minecraft/world/World.java.patch index 5d5afbc7b3..b87c00d43e 100644 --- a/patches/minecraft/net/minecraft/world/World.java.patch +++ b/patches/minecraft/net/minecraft/world/World.java.patch @@ -821,7 +821,30 @@ { BlockPos blockpos = p_175666_1_.func_177972_a(enumfacing); -@@ -3621,6 +3816,115 @@ +@@ -3544,18 +3739,14 @@ + { + IBlockState iblockstate = this.func_180495_p(blockpos); + +- if (Blocks.field_150441_bU.func_185547_C(iblockstate)) ++ iblockstate.func_177230_c().onNeighborChange(this, blockpos, p_175666_1_); ++ if (iblockstate.func_177230_c().isNormalCube(iblockstate, this, blockpos)) + { +- iblockstate.func_189546_a(this, blockpos, p_175666_2_, p_175666_1_); +- } +- else if (iblockstate.func_185915_l()) +- { + blockpos = blockpos.func_177972_a(enumfacing); + iblockstate = this.func_180495_p(blockpos); +- +- if (Blocks.field_150441_bU.func_185547_C(iblockstate)) ++ if (iblockstate.func_177230_c().getWeakChanges(this, blockpos)) + { +- iblockstate.func_189546_a(this, blockpos, p_175666_2_, p_175666_1_); ++ iblockstate.func_177230_c().onNeighborChange(this, blockpos, p_175666_1_); + } + } + } +@@ -3621,6 +3812,115 @@ return i >= -128 && i <= 128 && j >= -128 && j <= 128; }