Solved How to get the slot from a dragged Item - CustomInventory!

Discussion in 'Spigot Plugin Development' started by SirSpig0tOffical, Feb 9, 2018.

Thread Status:
Not open for further replies.
  1. Hello Guys, i need help from you.
    Okay how can i get the Slot from an dragged Item? In an Custom Inventory.
    I dont have any Code because all what i tried dont worked :///
     
  2. on InventoryClickEvent, use the one you want, "if (event.getAction() == InventoryAction.<Enum>) {
    upload_2018-2-9_22-47-6.png
    then use "event.getSlot()"
     
    • Useful Useful x 1
  3. I will try it thank you ;)
     
    • Like Like x 1
  4. Okay it worked thank you so much :)
     
    • Friendly Friendly x 1
Thread Status:
Not open for further replies.

Share This Page