From a4148d5772cf9744aab3307418307d4e0b7dc0dd Mon Sep 17 00:00:00 2001 From: GeorgH93 Date: Tue, 23 Jan 2024 22:11:33 +0100 Subject: [PATCH] Remove useless curly braces --- .../pcgamingfreaks/Minepacks/Bukkit/API/MinepacksCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minepacks-API/src/at/pcgamingfreaks/Minepacks/Bukkit/API/MinepacksCommand.java b/Minepacks-API/src/at/pcgamingfreaks/Minepacks/Bukkit/API/MinepacksCommand.java index c1c13fd..583ad1e 100644 --- a/Minepacks-API/src/at/pcgamingfreaks/Minepacks/Bukkit/API/MinepacksCommand.java +++ b/Minepacks-API/src/at/pcgamingfreaks/Minepacks/Bukkit/API/MinepacksCommand.java @@ -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); } }