fix TInject
This commit is contained in:
parent
b6c154e914
commit
eab2835c52
@ -60,7 +60,7 @@ public class TInjectLoader implements TabooLibLoader.Loader {
|
|||||||
declaredMethod.setAccessible(true);
|
declaredMethod.setAccessible(true);
|
||||||
config.listener(() -> {
|
config.listener(() -> {
|
||||||
try {
|
try {
|
||||||
declaredMethod.invoke(null);
|
declaredMethod.invoke(instance);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
t.printStackTrace();
|
t.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user