From 049d7c84727dc7672d05783e1dfc54d33545a3b6 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Wed, 13 Apr 2016 11:46:28 -0400 Subject: [PATCH] Fixed shift-clicking for the routing nodes --- .../bloodmagic/tile/container/ContainerItemRoutingNode.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/tile/container/ContainerItemRoutingNode.java b/src/main/java/WayofTime/bloodmagic/tile/container/ContainerItemRoutingNode.java index 363ecc96..45db1078 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/container/ContainerItemRoutingNode.java +++ b/src/main/java/WayofTime/bloodmagic/tile/container/ContainerItemRoutingNode.java @@ -64,13 +64,14 @@ public class ContainerItemRoutingNode extends Container InventoryPlayer inventoryPlayer = player.inventory; // if (!player.worldObj.isRemote) { + if (slotId >= 0) { Slot slot = this.inventorySlots.get(slotId); if (slot instanceof SlotGhostItem) //TODO: make the slot clicking work! { - if ((dragType == 0 || dragType == 1) && (clickTypeIn == ClickType.PICKUP || clickTypeIn == ClickType.CLONE)) + if ((dragType == 0 || dragType == 1) && (clickTypeIn == ClickType.PICKUP || clickTypeIn == ClickType.QUICK_MOVE)) { ItemStack slotStack = slot.getStack(); ItemStack heldStack = inventoryPlayer.getItemStack();