mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 09:39:40 -05:00
Comments
Former-commit-id: 45751d7cf12737d434dba0eeb10ab41928a80a77 [formerly 8f4199b436330cf45ece0e16cc566903d1df9f54] Former-commit-id: f3f64eacdafff5a1dd3766b0b9ff969eff2f99d1
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user