diff --git a/src/main/scala/io/izzel/taboolib/module/inject/TInjectLoader.java b/src/main/scala/io/izzel/taboolib/module/inject/TInjectLoader.java index f0c568e..2440555 100644 --- a/src/main/scala/io/izzel/taboolib/module/inject/TInjectLoader.java +++ b/src/main/scala/io/izzel/taboolib/module/inject/TInjectLoader.java @@ -60,7 +60,7 @@ public class TInjectLoader implements TabooLibLoader.Loader { declaredMethod.setAccessible(true); config.listener(() -> { try { - declaredMethod.invoke(null); + declaredMethod.invoke(instance); } catch (Throwable t) { t.printStackTrace(); }