From a6c6a799164d3b9abe9e300e2b5e7506acdef327 Mon Sep 17 00:00:00 2001 From: Lex Manos Date: Wed, 10 Dec 2014 05:44:07 -0800 Subject: [PATCH] Fixed log spam when breaking DoublePlants. Closes #1555 --- .../minecraft/net/minecraft/block/BlockDoublePlant.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/block/BlockDoublePlant.java.patch b/patches/minecraft/net/minecraft/block/BlockDoublePlant.java.patch index cbe1c8fe2..b50886d2d 100644 --- a/patches/minecraft/net/minecraft/block/BlockDoublePlant.java.patch +++ b/patches/minecraft/net/minecraft/block/BlockDoublePlant.java.patch @@ -70,7 +70,7 @@ + { + //Forge: Break both parts on the client to prevent the top part flickering as default type for a few frames. + IBlockState state = world.func_180495_p(pos); -+ if (state.func_177229_b(field_176492_b) == EnumBlockHalf.LOWER && world.func_180495_p(pos.func_177984_a()).func_177230_c() == this) ++ if (state.func_177230_c() == this && state.func_177229_b(field_176492_b) == EnumBlockHalf.LOWER && world.func_180495_p(pos.func_177984_a()).func_177230_c() == this) + world.func_175698_g(pos.func_177984_a()); + return world.func_175698_g(pos); + }