parent
15acae3c54
commit
ee1a89f1c3
1 changed files with 3 additions and 0 deletions
|
@ -179,6 +179,9 @@ public class PipeItemsWood extends Pipe<PipeTransportItems> implements IPowerRec
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack checkExtractGeneric(ISidedInventory inventory, boolean doRemove, ForgeDirection from) {
|
public ItemStack checkExtractGeneric(ISidedInventory inventory, boolean doRemove, ForgeDirection from) {
|
||||||
|
if(inventory == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
for (int k : inventory.getAccessibleSlotsFromSide(from.ordinal())) {
|
for (int k : inventory.getAccessibleSlotsFromSide(from.ordinal())) {
|
||||||
ItemStack slot = inventory.getStackInSlot(k);
|
ItemStack slot = inventory.getStackInSlot(k);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue