mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fixed bug in locale downloading
This commit is contained in:
parent
6d6a678d96
commit
bc24c55a35
@ -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"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user