Former-commit-id: 45751d7cf12737d434dba0eeb10ab41928a80a77 [formerly 8f4199b436330cf45ece0e16cc566903d1df9f54]
Former-commit-id: f3f64eacdafff5a1dd3766b0b9ff969eff2f99d1
This commit is contained in:
Ghost_chu committed 2019-06-10 14:22:52 +08:00
1 parent e29d414c8d
commit e79a026f7a
1 file changed
+1
@@ -443,6 +443,7 @@ public class MsgUtil {
String itemName = material.name();
String lastItemName = Util.prettifyText(itemName);
String localizedName = Util.getLocalizedName(new ItemStack(material));
/* If have localizedName, use localizedName, not our processed name */
if (localizedName != null)
lastItemName = localizedName;
itemi18n.set("itemi18n." + itemName, lastItemName);