From 7dad75adfb629bbf15711322a8566a4093955165 Mon Sep 17 00:00:00 2001 From: Izzel_Aliz Date: Mon, 27 Aug 2018 10:49:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E6=B2=89=E5=AF=82=E6=BC=94=E7=A4=BAid?= =?UTF-8?q?ea=20nb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ilummc/tlib/resources/TLocale.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ilummc/tlib/resources/TLocale.java b/src/main/java/com/ilummc/tlib/resources/TLocale.java index 9d4363f..758ce75 100644 --- a/src/main/java/com/ilummc/tlib/resources/TLocale.java +++ b/src/main/java/com/ilummc/tlib/resources/TLocale.java @@ -70,7 +70,6 @@ public class TLocale { try { return asStringList(path, Ref.getCallerClass(3).orElse(Main.class), args); } catch (Exception e) { - TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getInternalLanguage().getString("FETCH-LOCALE-ERROR"), path)); TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getInternalLanguage().getString("LOCALE-ERROR-REASON"), e.getMessage())); return Collections.singletonList("§4<" + path + "§4>"); } @@ -95,6 +94,7 @@ public class TLocale { } public static List setColored(List args) { + TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getInternalLanguage().getString("LOCALE-ERROR-REASON"), "")); return args.stream().map(var -> ChatColor.translateAlternateColorCodes('&', var)).collect(Collectors.toList()); }