summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc')
-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);
}