Skip to content

Commit

Permalink
Fixed NPE on command usage /pluginindicator stop
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigerpanzer02 committed Oct 10, 2023
1 parent 4fb3357 commit 8fc77d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void execute(CommandSender sender, String[] args) {
return;
}
if(arena.getArenaState() != ArenaState.ENDING) {
registry.getPlugin().getArenaManager().stopGame(false, arena);
registry.getPlugin().getArenaManager().stopGame(true, arena);
new MessageBuilder("COMMANDS_COMMAND_EXECUTED").asKey().send(sender);
}
}
Expand Down

0 comments on commit 8fc77d2

Please sign in to comment.