+ fix tlocale

+ fix tinject
+ fix tschedule
+ update ref
This commit is contained in:
坏黑
2019-11-04 15:56:04 +08:00
parent 1e55b6be29
commit 7154cdfe65
14 changed files with 216 additions and 113 deletions

View File

@@ -16,8 +16,7 @@ public class CompatKotlin {
public static Object getCompanion(Class<?> pluginClass) {
try {
return Reflection.getValue(null, TabooLibAPI.getPluginBridge().getClass(pluginClass.getName().substring(0, pluginClass.getName().indexOf("$Companion"))), true, "Companion");
} catch (Throwable t) {
t.printStackTrace();
} catch (Throwable ignored) {
}
return null;
}