From 7ca1e36b9716ddbf68ffe6614e1b6d33bdd3395f Mon Sep 17 00:00:00 2001 From: sandtechnology Date: Tue, 7 Apr 2020 00:23:44 +0800 Subject: [PATCH] Re-add missing enchantment level, thanks FreeMonoid Former-commit-id: 5b8b74e5416c886997cd903b073c51ed07ebd478 --- src/main/java/org/maxgamer/quickshop/util/MsgUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java b/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java index 11187e432..660c2d7ee 100644 --- a/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java +++ b/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java @@ -43,10 +43,10 @@ import org.bukkit.potion.PotionEffectType; import org.bukkit.scheduler.BukkitRunnable; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import org.maxgamer.quickshop.fileportlek.old.IFile; -import org.maxgamer.quickshop.fileportlek.old.JSONFile; import org.maxgamer.quickshop.QuickShop; import org.maxgamer.quickshop.ServiceInjector; +import org.maxgamer.quickshop.fileportlek.old.IFile; +import org.maxgamer.quickshop.fileportlek.old.JSONFile; import org.maxgamer.quickshop.shop.Shop; import org.maxgamer.quickshop.util.Language.Game.GameLanguage; import org.maxgamer.quickshop.util.Language.Game.MojangGameLanguageImpl; @@ -843,7 +843,7 @@ public class MsgUtil { if (!enchs.isEmpty()) { chatSheetPrinter.printCenterLine(MsgUtil.getMessage("menu.enchants", p)); for (Entry entries : enchs.entrySet()) { - chatSheetPrinter.printLine(ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey())); + chatSheetPrinter.printLine(ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey())+" "+entries.getValue()); } } if (shop.getItem().getItemMeta() instanceof EnchantmentStorageMeta) {