From 95d2fa45ecebcaea5626bd18c59b1be936c7bffb Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 29 Nov 2016 21:57:36 +0100 Subject: [PATCH] Made item intersion on the farmer more specific --- .../de/ellpeck/actuallyadditions/mod/tile/TileEntityFarmer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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