Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Redned235 committed Aug 25, 2024
1 parent fb8c2ba commit 1d39883
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void onArenaInitialize(ArenaInitializeEvent event) {
Arena arena = event.getArena();

// Statistic tracking is disabled
if (!arena.option(BattleArenaHandler.TRACK_STATISTICS).map(BooleanArenaOption::isEnabled).orElse(true)) {
if (!arena.option(BattleArenaHandler.TRACK_STATISTICS_OPTION).map(BooleanArenaOption::isEnabled).orElse(true)) {
return;
}

Expand Down Expand Up @@ -75,7 +75,7 @@ public void onCreateExecutor(ArenaCreateExecutorEvent event) {
Arena arena = event.getArena();

// Statistic tracking is disabled
if (!arena.option(BattleArenaHandler.TRACK_STATISTICS).map(BooleanArenaOption::isEnabled).orElse(true)) {
if (!arena.option(BattleArenaHandler.TRACK_STATISTICS_OPTION).map(BooleanArenaOption::isEnabled).orElse(true)) {
return;
}

Expand Down

0 comments on commit 1d39883

Please sign in to comment.