Fix shift clicking

This commit is contained in:
Pahimar 2016-05-31 09:52:54 -04:00
parent d7c0cc5155
commit 14d3be3276
1 changed files with 3 additions and 2 deletions

View File

@ -347,7 +347,7 @@ public class ContainerTransmutationTablet extends ContainerEE implements IElemen
if (combinedStackSize <= slotStackSizeLimit) {
stackInSlot.stackSize = combinedStackSize;
numTransmuted = stackInSlot.stackSize - itemStack1.stackSize;
numTransmuted = itemStack1.stackSize;
itemStack1.stackSize = 0;
slot.onSlotChanged();
}
@ -355,7 +355,8 @@ public class ContainerTransmutationTablet extends ContainerEE implements IElemen
itemStack1.stackSize -= slotStackSizeLimit - stackInSlot.stackSize;
stackInSlot.stackSize = slotStackSizeLimit;
numTransmuted = stackInSlot.stackSize - itemStack1.stackSize;
numTransmuted = itemStack1.stackSize;
itemStack1.stackSize = 0;
slot.onSlotChanged();
}
}