summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-08-25 02:38:31 +0200
committer zaaarf <zaaarf@proton.me>2023-08-25 02:38:31 +0200
commita0dbda4c5f8c78da927c7a0348a670d28619122b (patch)
tree90d7f4a26c7fa2c42b2ee149dff08bfe2eccc09d /src/main
parent5b965f42293028ff1e99b5aa1861a397e8032ebe (diff)
fix: fixed bad argument count0.1.3
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/ftbsc/geb/processor/GEBProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/geb/processor/GEBProcessor.java b/src/main/java/ftbsc/geb/processor/GEBProcessor.java
index 7dbaeb5..ffaa078 100644
--- a/src/main/java/ftbsc/geb/processor/GEBProcessor.java
+++ b/src/main/java/ftbsc/geb/processor/GEBProcessor.java
@@ -174,7 +174,7 @@ public class GEBProcessor extends AbstractProcessor {
String varName = String.format("listener%d", counter);
callListenersBuilder
.addStatement("$T $L = $N.get($T.class)", this.listenerInterface, varName, listenersParam, listener.parent)
- .addStatement("if($L.isActive()) (($T) $L).$L($N)", varName, listener.parent,
+ .addStatement("if($L.isActive()) (($T) $L).$L($N)", varName, listener.parent, varName,
listener.method.getSimpleName().toString(), eventParam);
}