Leaf piles may now be placed on anything solid. Closes #853
This commit is contained in:
parent
4ad4a82c94
commit
5791c6dcf2
1 changed files with 2 additions and 0 deletions
|
@ -382,6 +382,8 @@ public class BlockBOPPlant extends BlockBOPDecoration implements IShearable, IHo
|
||||||
case ROOT:
|
case ROOT:
|
||||||
// roots hang down - check against block above
|
// roots hang down - check against block above
|
||||||
return BlockQueries.fertile.matches(world, pos.up());
|
return BlockQueries.fertile.matches(world, pos.up());
|
||||||
|
case LEAFPILE: case DEADLEAFPILE:
|
||||||
|
return BlockQueries.solid.matches(world, pos.down());
|
||||||
default:
|
default:
|
||||||
return BlockQueries.litFertile.matches(world, pos.down());
|
return BlockQueries.litFertile.matches(world, pos.down());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue