How to make changing inventory impossible ?

Discussion in 'Plugin Development' started by Charona, Apr 11, 2014.

Thread Status:
Not open for further replies.
  1. I'm searching for something that allows me to make some people unable to interract with their inventory, i tried to do @EventHandler public void onOpenInventory(InventoryOpenEvent event)...
    but nothing happens, i hope you understand what i mean, sorry for my bad English i'm French.
     
  2. Offline

    Barnyard_Owl

    You'll need to listen for the InventoryClickEvent. (and InventoryDragEvent as well as the PlayerDropItemEvent)
     
Thread Status:
Not open for further replies.

Share This Page