Skip to content

Commit

Permalink
Remove useless curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgH93 committed Jan 23, 2024
1 parent 9528030 commit a4148d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void showHelp(final @NotNull CommandSender sendTo, final @NotNull String
}
catch(Exception e)
{
plugin.getLogger().log(Level.SEVERE, e, () -> { return "Failed to execute command " + usedMainCommandAlias; });
plugin.getLogger().log(Level.SEVERE, e, () -> "Failed to execute command " + usedMainCommandAlias);
}
}

Expand Down

0 comments on commit a4148d5

Please sign in to comment.