diff options
author | zaaarf <me@zaaarf.foo> | 2024-08-30 13:00:18 +0200 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-08-30 13:00:18 +0200 |
commit | 3238cf5fe85509ce54082c7a8a4998b352e3497a (patch) | |
tree | 0f2c619eef7ae725c9afd4bc3ad008237e7789cc /src/main | |
parent | 8027656386cc3023d428ea0382358244027396df (diff) |
fix: events by default are not canceled0.2.2
Diffstat (limited to 'src/main')
-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) |