mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-03 02:21:21 +01:00
Fixed no specified locale NPE
This commit is contained in:
parent
5c70bd5d0e
commit
2c3e401e07
@ -27,6 +27,7 @@ public class CommandLocaleDownload extends Subcommand {
|
||||
return (sender, args) -> {
|
||||
if (args.isEmpty()) {
|
||||
sender.sendMessage(this.getPlugin().getLangYml().getMessage("invalid-locale"));
|
||||
return;
|
||||
}
|
||||
|
||||
Paste paste = Paste.getFromHastebin(args.get(0));
|
||||
|
Loading…
Reference in New Issue
Block a user