mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
[ci skip] Code style in BukkitCommand
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user