Leaf piles may now be placed on anything solid. Closes #853

This commit is contained in:
Adubbz 2016-12-03 15:05:06 +11:00
parent 4ad4a82c94
commit 5791c6dcf2
1 changed files with 2 additions and 0 deletions

View File

@ -382,6 +382,8 @@ public class BlockBOPPlant extends BlockBOPDecoration implements IShearable, IHo
case ROOT:
// roots hang down - check against block above
return BlockQueries.fertile.matches(world, pos.up());
case LEAFPILE: case DEADLEAFPILE:
return BlockQueries.solid.matches(world, pos.down());
default:
return BlockQueries.litFertile.matches(world, pos.down());
}