mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
i18n nolonger force auto replace all " " to "_"
Former-commit-id: 13fac1dabbbdda32b4c95e278fc60d7ba21d15b4
This commit is contained in:
1 parent
20ab6f06f6
commit
e5f8ad344a
2 files changed
+2
-2
No files matched your search
@@ -106,7 +106,7 @@ public class MsgUtil {
|
||||
ItemBukkitName = ItemBukkitName.trim().replaceAll(" ", "_").toUpperCase(Locale.ROOT);
|
||||
String Itemname_i18n = null;
|
||||
try {
|
||||
Itemname_i18n = itemi18n.getString("itemi18n."+ItemBukkitName).trim().replaceAll(" ", "_");
|
||||
Itemname_i18n = itemi18n.getString("itemi18n."+ItemBukkitName).trim();
|
||||
}catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
Itemname_i18n = null;
|
||||
|
||||
@@ -668,7 +668,7 @@ public class Util {
|
||||
|
||||
if (Itemlore != null) {
|
||||
for (String string : Itemlore) {
|
||||
finalItemdata += ChatColor.DARK_PURPLE+ string + "\n";
|
||||
finalItemdata += ChatColor.DARK_PURPLE +""+ ChatColor.ITALIC + string + "\n";
|
||||
}
|
||||
}
|
||||
TextComponent normalmessage = new TextComponent(normalText);
|
||||
|
||||
Reference in new issue
Block a user