Added invalid-command

This commit is contained in:
Auxilor
2021-07-07 12:17:45 +02:00
parent a17ebdf16c
commit 7f002143ec
2 changed files with 2 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ public class CommandTalismans extends PluginCommand {
@Override
public CommandHandler getHandler() {
return (sender, args) -> {
sender.sendMessage(this.getPlugin().getLangYml().getMessage("invalid-command"));
};
}
}

View File

@@ -2,6 +2,7 @@ messages:
prefix: "&6&lTalismans&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!"
needs-player: "&cYou must specify a player"
invalid-player: "&cInvalid player!"