christopherwalkerml / ShulkerPacks

open shulker boxes without placing them down
GNU General Public License v3.0
6 stars 13 forks source link

Added canopeninbarrels option #2

Closed mfnalex closed 4 years ago

mfnalex commented 4 years ago

Added canopeninbarrels option as requested here: https://www.spigotmc.org/threads/shulker-backpacks-1-13-1-15.373326/page-4#post-3813080

mfnalex commented 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")

mfnalex commented 4 years ago

Added canopenininventory option as requested here: https://www.spigotmc.org/threads/shulker-backpacks-1-13-1-15.373326/page-4#post-3811476