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
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public abstract class MinepacksCommand extends SubCommand
}
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);
}
}