Closed Jikoo closed 4 years ago
I think I've encountered this when attempting getLocation on an ender chest (or fake ender chest inventory?) as well a couple years ago. Let me see what I did about this...
This isn't what I recall, but search results gave me this: https://github.com/MLG-Fortress/PrettySimpleShop/pull/7
Silent ender chest is API-only like I thought. Going to leave this open until I make time to double check it but it should be simple to reproduce.
InventoryView view = player.openInventory(bukkitPlayer.getEnderChest())
if (view != null) {
view.getTopInventory().getLocation();
}
Specifically a 1.16 problem, may be Spigot's problem and not ours - last I recall silent ender chest is purely API-based.