mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Made item intersion on the farmer more specific
This commit is contained in:
parent
b43886d954
commit
95d2fa45ec
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ public class TileEntityFarmer extends TileEntityInventoryBase{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isItemValidForSlot(int i, ItemStack stack){
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue