mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 22:16:34 +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) {
|
if (this.command instanceof ConsoleExecutable consoleExecutable) {
|
||||||
consoleExecutable.onConsoleExecute(args);
|
consoleExecutable.onConsoleExecute(args);
|
||||||
} else {
|
} else {
|
||||||
plugin.getLocales().getLocale("error_in_game_only").
|
plugin.getLocales().getLocale("error_in_game_only")
|
||||||
ifPresent(locale -> plugin.getAudiences().sender(sender).sendMessage(locale.toComponent()));
|
.ifPresent(locale -> plugin.getAudiences().sender(sender).sendMessage(locale.toComponent()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in new issue
Block a user