Closed mfnalex closed 4 years ago
This will work with 1.13 API although barrels have been added with 1.14, because we do not compare event.getClickedInventory().getHolder() == InventoryHolder.Barrel, but event.getClickedInventory().getHolder().getClass().toString().endsWith(".CraftBarrel")
Added canopenininventory option as requested here: https://www.spigotmc.org/threads/shulker-backpacks-1-13-1-15.373326/page-4#post-3811476
Added canopeninbarrels option as requested here: https://www.spigotmc.org/threads/shulker-backpacks-1-13-1-15.373326/page-4#post-3813080