Fix shrubs not generating correctly. Closes #2663

This commit is contained in:
LexManos 2016-03-30 15:20:18 -07:00
parent 746c07fc6c
commit c662810814
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
+ do
{
+ IBlockState state = p_180709_1_.func_180495_p(p_180709_3_);
+ if (!state.func_177230_c().isLeaves(state, p_180709_1_, p_180709_3_) && !state.func_177230_c().isLeaves(state, p_180709_1_, p_180709_3_)) break;
+ if (!state.func_177230_c().isAir(state, p_180709_1_, p_180709_3_) && !state.func_177230_c().isLeaves(state, p_180709_1_, p_180709_3_)) break;
p_180709_3_ = p_180709_3_.func_177977_b();
- }
+ } while (p_180709_3_.func_177956_o() > 0);