rookie mistake

This commit is contained in:
Ellpeck 2020-02-08 13:20:35 +01:00
parent 75cb0c98a8
commit d978b4f9b1

View file

@ -71,7 +71,6 @@ public class PlantBoostEffect implements IDrainSpotEffect {
BlockState state = world.getBlockState(plantPos);
Block block = state.getBlock();
if (block instanceof IGrowable && !(block instanceof DoublePlantBlock) && !(block instanceof TallGrassBlock) && block != Blocks.GRASS_BLOCK) {
System.out.println(block);
IGrowable growable = (IGrowable) block;
if (growable.canGrow(world, plantPos, state, false)) {
growable.grow((ServerWorld) world, world.rand, plantPos, state);