Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmakila committed May 14, 2024
1 parent c63e7bf commit 14314d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ public interface DeathEventConfig {
@AnnotationBasedSorter.Order(2)
@ConfDefault.DefaultBoolean(false)
@ConfComments("Whether cancelled death events will be logged.")
boolean cancelled();
boolean logCancelled();
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public DeathListener(WebhookChatLoggerPaper plugin) {
public void onDeath(PlayerDeathEvent event) {
DeathEventConfig config = this.wcl.eventsConfig().death();

if (!config.cancelled() && event.isCancelled()) {
if (!config.logCancelled() && event.isCancelled()) {
return;
}

Expand Down

0 comments on commit 14314d9

Please sign in to comment.