Small roots fix

This commit is contained in:
paulevsGitch 2020-10-26 12:55:23 +03:00
parent 0538b5d36a
commit 7ec4276b04

View file

@ -84,7 +84,7 @@ public abstract class ChorusPlantBlockMixin extends Block {
if (ctx.canPlace() && world.getBlockState(pos.down()).isIn(BlockTagRegistry.END_GROUND)) { if (ctx.canPlace() && world.getBlockState(pos.down()).isIn(BlockTagRegistry.END_GROUND)) {
BlockState plant = info.getReturnValue(); BlockState plant = info.getReturnValue();
if (plant.isOf(Blocks.CHORUS_PLANT)) { if (plant.isOf(Blocks.CHORUS_PLANT)) {
info.setReturnValue(plant.with(BlocksHelper.ROOTS, true)); info.setReturnValue(plant.with(BlocksHelper.ROOTS, true).with(Properties.DOWN, true));
info.cancel(); info.cancel();
} }
} }