-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
[22:06:29] [Server thread/INFO]: This server is running CraftBukkit version 3048-Bukkit-9db9aee (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) [22:06:29] [Server thread/INFO]: Checking version, please wait... [22:06:30] [Thread-20/INFO]: Yo
-
Yes
This issue exists in both Spigot and CraftBukkit.
When InventoryOpenEvent is called, the Inventory Type's default title is set to `Crafting` when opening Anvil and Smithing Tables. All other blocks I tested seem to work.
Reproduce:
@EventHandler
public void onInventoryOpenEvent(InventoryOpenEvent event) {
Player player = (Player) event.getPlayer();
player.sendMessage(event.getInventory().getType().getDefaultTitle());
}