mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-19 19:59:58 +00:00
#1384 Disabling one side of machines disables the opposite side as well.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user