Fixed bug in locale downloading

This commit is contained in:
Auxilor 2021-07-19 22:06:30 +01:00
parent 6d6a678d96
commit bc24c55a35

View File

@ -25,7 +25,7 @@ public class CommandLocaleDownload extends Subcommand {
@Override
public CommandHandler getHandler() {
return (sender, args) -> {
if (args.size() == 0) {
if (args.isEmpty()) {
sender.sendMessage(this.getPlugin().getLangYml().getMessage("invalid-locale"));
}