Disable hotkeys in a chest

Discussion in 'Spigot Plugin Development' started by Ullrimax, Apr 19, 2017.

  1. Hi, i would like to cancel the event when the player press 1,2,3,4,5,6,7,8,9 to move an item from a chest to his inventory hotbar, but i don't know what is this event/action, could someone help me please ?
     
  2. InventoryClickEvent using method getClickType()
     
    • Like Like x 1
    • Agree Agree x 1