The method org.bukkit.inventory.Inventory#getTitle() returns the default title of the inventory, not the custom one for enchantment tables. It works fine with chests, trapped chests, furnaces and horses, though.
The method org.bukkit.inventory.Inventory#getTitle() returns the default title of the inventory, not the custom one for enchantment tables. It works fine with chests, trapped chests, furnaces and horses, though.