#1506 Fix typo causing items to not be pushed from machines at all

This commit is contained in:
tterrag1098 committed 2014-12-27 23:10:10 -05:00
1 parent 587d885a02
commit b599663b1d
1 file changed
+1 -2
@@ -323,7 +323,7 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
BlockCoord loc = getLocation().getLocation(dir);
TileEntity te = worldObj.getTileEntity(loc.x, loc.y, loc.z);
return doPush(dir, te, slotDefinition.minOutputSlot, slotDefinition.maxInputSlot);
return doPush(dir, te, slotDefinition.minOutputSlot, slotDefinition.maxOutputSlot);
}
protected boolean doPush(ForgeDirection dir, TileEntity te, int minSlot, int maxSlot) {
@@ -393,7 +393,6 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
}
protected boolean doPull(int inputSlot, ISidedInventory target, int[] targetSlots, ForgeDirection side) {
ItemStack curStack = inventory[inputSlot];
for (int i = 0; i < targetSlots.length; i++) {
int tSlot = targetSlots[i];
ItemStack targetStack = target.getStackInSlot(tSlot);