[BUG] ItemHeldEvent not fired

Discussion in 'Plugin Development' started by Anonomoose, Jun 27, 2014.

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

    Anonomoose

    Seeing as I don't have permission to report a bug on the actual bug tracker, "You do not have permission to create issues in this project.", I thought I'd report the bug here. Also, I couldn't find a suitable topic for reporting bugs so this is as close as it gets.

    When holding an item in hand, and clicking on the item in the inventory so that it picks it up it and takes it out of your hand, it doesn't fire the ItemHeldEvent. The event description is "Fired when a player changes their currently held item." and seeing as taking an item out of hand via the inventory changes the item in the players hand, I'd like to think this is an actual bug.

    Thanks for reading.
     
  2. Offline

    Garris0n

    That's not what it means. The description should really say held slot. As in when you scroll or press a number key to change which slot/item you're holding. What you're describing is handled by the InventoryClickEvent.
     
  3. Offline

    Anonomoose

    Ah right, that makes sense now. Thanks for the clarification!
     
Thread Status:
Not open for further replies.

Share This Page