Skip to content

Commit

Permalink
fix: prune event always cancelled after fire
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Sep 29, 2024
1 parent e08124c commit c52a5e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ default void fireClaimMakePublicEvent(@NotNull OnlineUser user, @NotNull Claim c
default Optional<ClaimWorldPruneEvent> fireIsCancelledClaimWorldPruneEvent(@NotNull ClaimWorld world,
@NotNull Map<User, Long> userMap) {
final ClaimWorldPruneEvent event = getClaimWorldPruneEvent(world, userMap);
return fireIsCancelled(event) ? Optional.of(event) : Optional.empty();
return !fireIsCancelled(event) ? Optional.of(event) : Optional.empty();
}

@NotNull
Expand Down

0 comments on commit c52a5e1

Please sign in to comment.