Remove clicked item: InventoryClickEvent

Discussion in 'Plugin Development' started by AwzumSauze, Jul 20, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    AwzumSauze

    I want to remove the clicked item on an inventory click event. I've tried setting the amount to null, and 0, and tried setting the type to material.air. How would I do this?
     
  2. Offline

    turqmelon

    Get the slot # the item is in, then set the slot contents to null, instead of the ItemStack object itself.
     
Thread Status:
Not open for further replies.

Share This Page