mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-24 00:41:23 +01:00
Added subcommand check
This commit is contained in:
parent
0da2e15f1e
commit
6ba5952074
@ -23,7 +23,7 @@ public class CommandEcoEnchants extends PluginCommand {
|
||||
@Override
|
||||
public CommandHandler getHandler() {
|
||||
return (sender, args) -> {
|
||||
|
||||
sender.sendMessage(this.getPlugin().getLangYml().getMessage("invalid-command"));
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ messages:
|
||||
prefix: "&a&lEcoEnchants &r&8» &r"
|
||||
no-permission: "&cYou don't have permission to do this!"
|
||||
not-player: "&cThis command must be run by a player"
|
||||
invalid-command: "&cUnknown subcommand!"
|
||||
reloaded: "Reloaded!"
|
||||
got-special: "You got a &dSpecial &fenchantment!"
|
||||
skip-added: "&aAdded &flore skip to item!"
|
||||
|
Loading…
Reference in New Issue
Block a user