diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFarmer.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFarmer.java index 3178b03b8..753971f24 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFarmer.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFarmer.java @@ -202,7 +202,7 @@ public class TileEntityFarmer extends TileEntityInventoryBase{ @Override public boolean isItemValidForSlot(int i, ItemStack stack){ - return i < 6 && StackUtil.isValid(stack) && stack.getItem() instanceof IPlantable; + return i < 6 && StackUtil.isValid(stack) && getPlantableFromStack(stack) != null; } @Override