Fixed shift-clicking for the routing nodes

This commit is contained in:
WayofTime 2016-04-13 11:46:28 -04:00
parent c0b39039cc
commit 049d7c8472

View file

@ -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();