Solved Enderchest open

Discussion in 'Spigot Plugin Development' started by Kuba1001PL, May 13, 2016.

Thread Status:
Not open for further replies.
  1. What is the event to open enderchest?
     
  2. Code (Java):
    @EventHandler
    public void onInventoryOpen(InventoryOpenEvent event)
    {
        if (event.getInventory().getHolder() instanceof EnderChest)
        {
            //...
        }
    }
     
    • Like Like x 1
Thread Status:
Not open for further replies.