diff --git a/src/main/java/de/cyklon/jevent/JEvent.java b/src/main/java/de/cyklon/jevent/JEvent.java index 00b1880..6f3f20e 100644 --- a/src/main/java/de/cyklon/jevent/JEvent.java +++ b/src/main/java/de/cyklon/jevent/JEvent.java @@ -88,7 +88,7 @@ private void registerListener(@NotNull ReflectClass clazz) { else obj = internal==null ? null : internal.cast(null); params[i] = obj; } - con.newInstance(params); + instance = con.newInstance(params); } }