Former-commit-id: 290d67d631b4a88de48c9128c1a72720188515c0
This commit is contained in:
sandtechnology committed 2020-08-07 20:21:16 +08:00
1 parent f818c5b21e
commit e6c015959f
1 file changed
+2 -2
@@ -871,7 +871,7 @@ public class MsgUtil {
if (!enchs.isEmpty()) {
chatSheetPrinter.printCenterLine(MsgUtil.getMessage("menu.enchants", p));
for (Entry<Enchantment, Integer> entries : enchs.entrySet()) {
chatSheetPrinter.printLine(ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey()) + " " + entries.getValue());
chatSheetPrinter.printLine(ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey()) + " " + RomanNumber.toRoman(entries.getValue()));
}
}
if (shop.getItem().getItemMeta() instanceof EnchantmentStorageMeta) {
@@ -881,7 +881,7 @@ public class MsgUtil {
if (!enchs.isEmpty()) {
chatSheetPrinter.printCenterLine(MsgUtil.getMessage("menu.stored-enchants", p));
for (Entry<Enchantment, Integer> entries : enchs.entrySet()) {
chatSheetPrinter.printLine(ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey()));
chatSheetPrinter.printLine(ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey()) + " " + RomanNumber.toRoman(entries.getValue()));
}
}
}