Open Chest Event

Discussion in 'Spigot Plugin Development' started by RavortMC, May 16, 2015.

  1. Hello, im starting with a plugin and i want know which event i should use for cancel it.

    Regards!
     
  2. In InventoryOpenEvent, check if the inventory is a chest.
     
  3. Or you cancel PlayerInteractEvent if the block is a chest...