mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-04 20:39:09 +01:00
rookie mistake
This commit is contained in:
parent
75cb0c98a8
commit
d978b4f9b1
1 changed files with 0 additions and 1 deletions
|
@ -71,7 +71,6 @@ public class PlantBoostEffect implements IDrainSpotEffect {
|
||||||
BlockState state = world.getBlockState(plantPos);
|
BlockState state = world.getBlockState(plantPos);
|
||||||
Block block = state.getBlock();
|
Block block = state.getBlock();
|
||||||
if (block instanceof IGrowable && !(block instanceof DoublePlantBlock) && !(block instanceof TallGrassBlock) && block != Blocks.GRASS_BLOCK) {
|
if (block instanceof IGrowable && !(block instanceof DoublePlantBlock) && !(block instanceof TallGrassBlock) && block != Blocks.GRASS_BLOCK) {
|
||||||
System.out.println(block);
|
|
||||||
IGrowable growable = (IGrowable) block;
|
IGrowable growable = (IGrowable) block;
|
||||||
if (growable.canGrow(world, plantPos, state, false)) {
|
if (growable.canGrow(world, plantPos, state, false)) {
|
||||||
growable.grow((ServerWorld) world, world.rand, plantPos, state);
|
growable.grow((ServerWorld) world, world.rand, plantPos, state);
|
||||||
|
|
Loading…
Reference in a new issue