-
Bug
-
Resolution: Invalid
-
Minor
-
None
-
None
-
This server is running CraftBukkit version git-Spigot-5695bca-53fccdf (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
ItemStack is = player.getInventory().getItemInMainHand(); System.out.println("output= " + is.getItemMeta().getLocalizedName());
Initial commit of this method here.
Tested with Apple, String, Dirt using English (US), Spanish (Mexico), Korean.
From what I understand, is.getItemMeta().getLocalizedName() should return the localized/translated name of a given item (such as "Terra" instead of "Dirt" for Spanish (Mexico) users. Instead the output is always "output= null".