给沉寂演示idea nb
This commit is contained in:
parent
17fcc8d837
commit
7dad75adfb
@ -70,7 +70,6 @@ public class TLocale {
|
|||||||
try {
|
try {
|
||||||
return asStringList(path, Ref.getCallerClass(3).orElse(Main.class), args);
|
return asStringList(path, Ref.getCallerClass(3).orElse(Main.class), args);
|
||||||
} catch (Exception e) {
|
} 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()));
|
TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getInternalLanguage().getString("LOCALE-ERROR-REASON"), e.getMessage()));
|
||||||
return Collections.singletonList("§4<" + path + "§4>");
|
return Collections.singletonList("§4<" + path + "§4>");
|
||||||
}
|
}
|
||||||
@ -95,6 +94,7 @@ public class TLocale {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static List<String> setColored(List<String> args) {
|
public static List<String> setColored(List<String> args) {
|
||||||
|
TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getInternalLanguage().getString("LOCALE-ERROR-REASON"), ""));
|
||||||
return args.stream().map(var -> ChatColor.translateAlternateColorCodes('&', var)).collect(Collectors.toList());
|
return args.stream().map(var -> ChatColor.translateAlternateColorCodes('&', var)).collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user