Fixed shift-clicking for the routing nodes
This commit is contained in:
parent
c0b39039cc
commit
049d7c8472
|
@ -64,13 +64,14 @@ public class ContainerItemRoutingNode extends Container
|
||||||
InventoryPlayer inventoryPlayer = player.inventory;
|
InventoryPlayer inventoryPlayer = player.inventory;
|
||||||
// if (!player.worldObj.isRemote)
|
// if (!player.worldObj.isRemote)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (slotId >= 0)
|
if (slotId >= 0)
|
||||||
{
|
{
|
||||||
Slot slot = this.inventorySlots.get(slotId);
|
Slot slot = this.inventorySlots.get(slotId);
|
||||||
|
|
||||||
if (slot instanceof SlotGhostItem) //TODO: make the slot clicking work!
|
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 slotStack = slot.getStack();
|
||||||
ItemStack heldStack = inventoryPlayer.getItemStack();
|
ItemStack heldStack = inventoryPlayer.getItemStack();
|
||||||
|
|
Loading…
Reference in a new issue