#1384 Disabling one side of machines disables the opposite side as well.

This commit is contained in:
CrazyPants committed 2014-12-12 14:09:32 +08:00
1 parent 9c72b9ec5a
commit a2cec66a81
3 files changed
+4 -1

No files matched your search

@@ -491,7 +491,7 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
int tSlot = targetSlots[i];
ItemStack targetStack = target.getStackInSlot(tSlot);
if(targetStack != null && target.canExtractItem(i, targetStack, side.getOpposite().ordinal())) {
int res = ItemUtil.doInsertItem(this, targetStack, side.getOpposite());
int res = ItemUtil.doInsertItem(this, targetStack, side);
if(res > 0) {
targetStack = targetStack.copy();
targetStack.stackSize -= res;