Update chest animation after cancelling InventoryOpenEvent. Fixes BUKKIT-1440 Currently if a plugin cancels an InventoryOpenEvent for vanilla chests, the chest animation for clients is stuck in the open state since IInventory's closeChest method is never called. To fix the issue, closeChest is called before exiting the display GUI method. More info can be found here https://bukkit.atlassian.net/browse/BUKKIT-1440 By: md_5 <git@md-5.net>
5.2 KiB
5.2 KiB