Fixed vines generation for hanging off of trees.

This commit is contained in:
Lex Manos 2014-06-15 11:59:11 -07:00
parent 7d700c9ad2
commit bb15efd037

View file

@ -88,7 +88,7 @@
--p_76529_3_;
- if (p_76529_1_.func_147439_a(p_76529_2_, p_76529_3_, p_76529_4_).func_149688_o() != Material.field_151579_a || i1 <= 0)
+ if (p_76529_1_.func_147439_a(p_76529_2_, p_76529_3_, p_76529_4_).isAir(p_76529_1_, p_76529_2_, p_76529_3_, p_76529_4_) || i1 <= 0)
+ if (!p_76529_1_.func_147439_a(p_76529_2_, p_76529_3_, p_76529_4_).isAir(p_76529_1_, p_76529_2_, p_76529_3_, p_76529_4_) || i1 <= 0)
{
return;
}