Distinguish between ejecting an item with Q and from inventory

Discussion in 'Plugin Development' started by DS_STORE, Feb 4, 2016.

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

    DS_STORE

    Hello.
    I need to distinguish between two cases in which the player has either dropped something with the q button or using his mouse from the inventory.
    Is there a way to archive this in PlayerDropItemEvent?
     
  2. Offline

    GamerzKing

  3. You will have to list two events, PlayerDropItemEvent to detect when a player drops an Item with Q, and also listen to InventoryClickEvent to check when a player drops a Item clicking on inventory.
     
Thread Status:
Not open for further replies.

Share This Page