Solved Quick InventoryCloseEvent help

Discussion in 'Plugin Development' started by JigokuSaru, Apr 18, 2015.

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

    JigokuSaru

    Ok this is crucial to my plugin. I want to figure out how to take an action like remove an item from an inventory when it closes. EX: an inventory is opened and I put an egg in the inventory, I want to remove the egg from slot 3 (2) whatever u want to call it since it starts at 0. I already have a void for the event InventoryCloseEvent but i have no idea how to check if it closes.
     
  2. @JigokuSaru InventoryCloseEvent fires when a inventory is closed. Just check what inventory it is.
     
  3. Offline

    JigokuSaru

    @bwfcwalshy
    ... thank you im not to bright ... I didnt put a lot of thought into it.... Thanks :D
     
  4. Offline

    Zombie_Striker

    Mark as Solved if solved.
     
Thread Status:
Not open for further replies.

Share This Page