InventoryClickEvent to slot?

Discussion in 'Plugin Development' started by savagesun, Jun 23, 2013.

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

    savagesun

    I feel like I'm missing something obvious.. but how do I retrieve the slot information from the slot that the item is going to not from which seems to be the default in this event. Is there another event I should be using?

    Edit: Found what I should be using: InventoryMoveItemEvent.
    Edit 2: Spoke too soon. It looks right but it doesn't seem to be invoked by players fiddling with inventories.
     
  2. Offline

    Nitnelave

    I'm guessing the InventoryClickEvent, when the destination slot is empty and the item in hand is not.
     
Thread Status:
Not open for further replies.

Share This Page