Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/event-cancel-test' into event-ca…
Browse files Browse the repository at this point in the history
…ncel-test
  • Loading branch information
Efnilite committed Oct 1, 2024
2 parents 1b07749 + 8290693 commit 969a955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/effects/EffCancelEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class EffCancelEvent extends Effect {
public boolean init(Expression<?>[] expressions, int matchedPattern,
Kleenean isDelayed, ParseResult parseResult) {
if (isDelayed == Kleenean.TRUE) {
Skript.error("Can't cancel an event after it has already passed", ErrorQuality.SEMANTIC_ERROR);
Skript.error("An event cannot be cancelled after it has already passed", ErrorQuality.SEMANTIC_ERROR);
return false;
}

Expand Down

0 comments on commit 969a955

Please sign in to comment.