Remove useless curly braces

This commit is contained in:
GeorgH93 2024-01-23 22:11:33 +01:00
parent 9528030055
commit a4148d5772
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -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);
}
}