Fixed log spam when breaking DoublePlants. Closes #1555

This commit is contained in:
Lex Manos 2014-12-10 05:44:07 -08:00
parent 7c79a4226f
commit a6c6a79916

View file

@ -70,7 +70,7 @@
+ { + {
+ //Forge: Break both parts on the client to prevent the top part flickering as default type for a few frames. + //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); + 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()); + world.func_175698_g(pos.func_177984_a());
+ return world.func_175698_g(pos); + return world.func_175698_g(pos);
+ } + }