Fixed Large mushrooms generating incorrectly.

This commit is contained in:
LexManos 2015-11-26 19:36:53 -08:00
parent 81f9f3f20d
commit d878a2ae26

View file

@ -14,7 +14,7 @@
BlockPos blockpos = new BlockPos(l1, l2, i2);
- if (!p_180709_1_.func_180495_p(blockpos).func_177230_c().func_149730_j())
+ if (!p_180709_1_.func_180495_p(blockpos).func_177230_c().canBeReplacedByLeaves(p_180709_1_, blockpos))
+ if (p_180709_1_.func_180495_p(blockpos).func_177230_c().canBeReplacedByLeaves(p_180709_1_, blockpos))
{
this.func_175903_a(p_180709_1_, blockpos, this.field_76523_a.func_176223_P().func_177226_a(BlockHugeMushroom.field_176380_a, blockhugemushroom$enumtype));
}