From a52a5d7f44d703beb1aec84459dd9a2a54481c06 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Thu, 2 Aug 2018 15:01:08 +0800 Subject: [PATCH] apply enchi18n Former-commit-id: ada39426b7197c1abb5b1ad28dd9606a36bc0c57 --- src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java b/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java index bd0c5721c..0d932aa2e 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java +++ b/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java @@ -301,7 +301,7 @@ public class MsgUtil { if (enchs != null && !enchs.isEmpty()) { p.sendMessage(ChatColor.DARK_PURPLE + "+--------------------" + MsgUtil.getMessage("menu.enchants") + "-----------------------+"); for (Entry entries : enchs.entrySet()) { - p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW +MsgUtil.getEnchi18n(entries.getKey()) + " " + entries.getValue()); + p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW +MsgUtil.getEnchi18n(entries.getKey())); } } enchs = shop.getItem().getItemMeta().getEnchants(); @@ -320,7 +320,7 @@ public class MsgUtil { if (enchs != null && !enchs.isEmpty()) { p.sendMessage(ChatColor.DARK_PURPLE + "+-----------------" + MsgUtil.getMessage("menu.stored-enchants") + "--------------------+"); for (Entry entries : enchs.entrySet()) { - p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey())+ " " + entries.getValue()); + p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW +MsgUtil.getEnchi18n(entries.getKey())); } } } @@ -350,7 +350,7 @@ public class MsgUtil { if (enchs != null && !enchs.isEmpty()) { p.sendMessage(ChatColor.DARK_PURPLE + "+--------------------" + MsgUtil.getMessage("menu.enchants") + "-----------------------+"); for (Entry entries : enchs.entrySet()) { - p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey()) + " " + entries.getValue()); + p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW +MsgUtil.getEnchi18n(entries.getKey())); } } try { @@ -362,7 +362,7 @@ public class MsgUtil { if (enchs != null && !enchs.isEmpty()) { p.sendMessage(ChatColor.DARK_PURPLE + "+--------------------" + MsgUtil.getMessage("menu.stored-enchants") + "-----------------------+"); for (Entry entries : enchs.entrySet()) { - p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW + MsgUtil.getEnchi18n(entries.getKey()) + " " + entries.getValue()); + p.sendMessage(ChatColor.DARK_PURPLE + "| " + ChatColor.YELLOW +MsgUtil.getEnchi18n(entries.getKey())); } } }