diff options
Diffstat (limited to 'src/main/java')
-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 57655cd..6cd44a1 100644 --- a/src/main/java/ftbsc/geb/processor/GEBProcessor.java +++ b/src/main/java/ftbsc/geb/processor/GEBProcessor.java @@ -227,7 +227,7 @@ public class GEBProcessor extends AbstractProcessor { .addStatement("if((($T) $N).isCanceled()) return false", this.cancelableEventInterface, eventParam); } - callListenersBuilder.addStatement("return false"); + callListenersBuilder.addStatement("return true"); MethodSpec eventType = MethodSpec.methodBuilder("eventType") .addModifiers(Modifier.PUBLIC) |