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