Fixed shift clicking upgrades into Interface making upgrades go to import slots
This commit is contained in:
@@ -41,6 +41,7 @@ NOTE: Worlds that used Refined Storage 1.5.x are fully compatible with Refined S
|
||||
- Fixed JEI recipe transferring in Pattern Grid allowing non-processing recipes in processing mode and vice-versa (raoulvdberge)
|
||||
- Fixed using Interfaces for minimum stock levels failing when requester is also an Interface (raoulvdberge)
|
||||
- Fixed ItemZoom incompatibility in Grid (raoulvdberge)
|
||||
- Fixed shift clicking upgrades into Interface making upgrades go to import slots (raoulvdberge)
|
||||
- Prevent accidental Grid scrollbar click after clicking JEI recipe transfer button (raoulvdberge)
|
||||
- Added a missing config option for Crafter Manager energy usage (raoulvdberge)
|
||||
- Added support for Disk Drive / Storage Block storage and capacity to OC integration (zangai)
|
||||
|
||||
@@ -40,13 +40,15 @@ public class ContainerInterface extends ContainerBase {
|
||||
if (slot.getHasStack()) {
|
||||
stack = slot.getStack();
|
||||
|
||||
if (index < 9) {
|
||||
if (index < 9 || (index >= 9 + 9 + 9 && index < 9 + 9 + 9 + 4)) {
|
||||
if (!mergeItemStack(stack, 9 + 9 + 9 + 4, inventorySlots.size(), false)) {
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
} else if (!mergeItemStack(stack, 0, 9, false)) {
|
||||
} else if (!mergeItemStack(stack, 9 + 9 + 9, 9 + 9 + 9 + 4, false)) {
|
||||
if (!mergeItemStack(stack, 0, 9, false)) {
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
}
|
||||
|
||||
if (stack.getCount() == 0) {
|
||||
slot.putStack(ItemStack.EMPTY);
|
||||
|
||||
Reference in New Issue
Block a user