diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/ftbsc/geb/processor/GEBProcessor.java | 2 |
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 926173a..7dbaeb5 100644 --- a/src/main/java/ftbsc/geb/processor/GEBProcessor.java +++ b/src/main/java/ftbsc/geb/processor/GEBProcessor.java @@ -173,7 +173,7 @@ public class GEBProcessor extends AbstractProcessor { for(ListenerContainer listener : ordered) { String varName = String.format("listener%d", counter); callListenersBuilder - .addStatement("$T $L = $N.get($T.class)", varName, this.listenerInterface, listenersParam, listener.parent) + .addStatement("$T $L = $N.get($T.class)", this.listenerInterface, varName, listenersParam, listener.parent) .addStatement("if($L.isActive()) (($T) $L).$L($N)", varName, listener.parent, listener.method.getSimpleName().toString(), eventParam); } |