Solved ShiftClicking

Discussion in 'Spigot Plugin Development' started by DyrhoDevelopment, May 28, 2016.

  1. Hello,
    I started developing a few months ago, and now I don't know something, maybe you guys can help me?

    My problem is that I wan't to know if a player is shiftclicking in an inventory.
    I hope to get some help soon, every little help is welcome!

    Thomas Kuijs
  2. Check if the player is shifting (#isShifting) and then also check if right right and/or left click
  3. @SoftSilk
    Thanks for that quick response
    But how can i use it, because i can't find any isShifting, I can find isSneaking but tried it and it didn't work at all
  4. InventoryClickEvent.getClick().isShiftClick()
    • Agree Agree x 1
  5. @Chrisstar56 Thanx for that quick reply, it works, so much thanks!
  6. @SoftSilk I did it and it worked so this thread is now solved