Solved How to prevent players from throwing out items of their inventories?

Discussion in 'Plugin Development' started by Baba43, Feb 3, 2013.

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

    Baba43

    Hello,

    for my new plugin it's necessary that players have no chance to drop items from my custom inventory. If I try to cancel the InventoryClickEvent if the clicked slot is -999 the items just disappear..

    This way I would need to save the last clicked-slot to know where to append the "dropped" item-stack.. thats not cool :(

    Ideas?

    /edit
    I got it fixed with just upading the inventory :eek:
     
  2. Offline

    Tirelessly

    PlayerDropItemEvent please use the search on jd.bukkit.org/doxygen/
     
Thread Status:
Not open for further replies.

Share This Page