mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 05:02:25 +00:00
#1506 Fix typo causing items to not be pushed from machines at all
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user