[ci skip] Code style in BukkitCommand

This commit is contained in:
William committed 2022-09-24 18:58:32 +01:00
1 parent cfaa213afe
commit 8a4ed7c565
1 file changed
+2 -2
@@ -56,8 +56,8 @@ public class BukkitCommand implements CommandExecutor, TabExecutor {
if (this.command instanceof ConsoleExecutable consoleExecutable) {
consoleExecutable.onConsoleExecute(args);
} else {
plugin.getLocales().getLocale("error_in_game_only").
ifPresent(locale -> plugin.getAudiences().sender(sender).sendMessage(locale.toComponent()));
plugin.getLocales().getLocale("error_in_game_only")
.ifPresent(locale -> plugin.getAudiences().sender(sender).sendMessage(locale.toComponent()));
}
}
return true;