Fix shrubs not generating correctly. Closes #2663
This commit is contained in:
parent
746c07fc6c
commit
c662810814
|
@ -10,7 +10,7 @@
|
||||||
+ do
|
+ do
|
||||||
{
|
{
|
||||||
+ IBlockState state = p_180709_1_.func_180495_p(p_180709_3_);
|
+ 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();
|
p_180709_3_ = p_180709_3_.func_177977_b();
|
||||||
- }
|
- }
|
||||||
+ } while (p_180709_3_.func_177956_o() > 0);
|
+ } while (p_180709_3_.func_177956_o() > 0);
|
||||||
|
|
Loading…
Reference in New Issue