} else if (player.isSneaking() || heldItem == null || heldItem.getItem() == null) {
this.harvest(world, pos, state, player, crop);
} else if (TypeHelper.isAnyType(heldItem.getItem(), ITEM_EXCLUDES)) {
return false;
} else if (FertilizerRegistry.getInstance().hasAdapter(heldItem)) {
<BUG>IAgriFertilizer fert = FertilizerRegistry.getInstance().getValue(heldItem);

return fert == null ? false : fert.applyFertilizer(player, world, pos, crop, heldItem, RANDOM);
</BUG>
} else if (plantSeed(heldItem, world, pos)) {

} else if (player.isSneaking() || heldItem == null || heldItem.getItem() == null) {
this.harvest(world, pos, state, player, crop);
} else if (TypeHelper.isAnyType(heldItem.getItem(), ITEM_EXCLUDES)) {
return false;
} else if (FertilizerRegistry.getInstance().hasAdapter(heldItem)) {
Optional<IAgriFertilizer> fert = FertilizerRegistry.getInstance().valueOf(heldItem);
return fert.isPresent() && fert.get().applyFertilizer(player, world, pos, crop, heldItem, RANDOM);
} else if (plantSeed(heldItem, world, pos)) {
