diff --git a/src/main/java/com/minelittlepony/unicopia/block/PineappleCropBlock.java b/src/main/java/com/minelittlepony/unicopia/block/PineappleCropBlock.java index 7f9c147b..2e1776ba 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/PineappleCropBlock.java +++ b/src/main/java/com/minelittlepony/unicopia/block/PineappleCropBlock.java @@ -66,7 +66,9 @@ public class PineappleCropBlock extends CropBlock { if (state.get(HALF) == BlockHalf.BOTTOM) { super.randomTick(state, world, pos, random); - if (!isMature(state) && isMature(world.getBlockState(pos)) && world.isAir(pos.up())) { + BlockState newState = world.getBlockState(pos); + + if (newState.isOf(this) && !isMature(state) && isMature(newState) && world.isAir(pos.up())) { world.setBlockState(pos.up(), getDefaultState().with(HALF, BlockHalf.TOP)); } } else {