Drive only Accepts Storage Cells.
This commit is contained in:
parent
385103ffb7
commit
96e1789b22
|
@ -334,4 +334,9 @@ public class TileDrive extends AENetworkInvTile implements IChestOrDrive, IPrior
|
|||
// :P
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isItemValidForSlot(int i, ItemStack itemstack)
|
||||
{
|
||||
return itemstack != null && AEApi.instance().registries().cell().isCellHandled( itemstack );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue