+ 修复两个碧油鸡
This commit is contained in:
parent
732f0bf093
commit
64aba798c3
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>me.skymc</groupId>
|
||||
<artifactId>TabooLib</artifactId>
|
||||
<version>4.52</version>
|
||||
<version>4.53</version>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
@ -94,7 +94,6 @@ public class TLocale {
|
||||
}
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
|
@ -58,6 +58,7 @@ public class TInjectLoader implements TabooLibLoader.Loader {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
declaredField.setAccessible(true);
|
||||
tInjectTask.run(plugin, declaredField, annotation.value());
|
||||
} catch (Exception e) {
|
||||
TLogger.getGlobalLogger().error(declaredField.getName() + " inject failed: " + e.getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user