diff --git a/config.yml b/config.yml index f15623f..43f9aa3 100644 --- a/config.yml +++ b/config.yml @@ -72,6 +72,8 @@ messages: reloadError: "&7Error reloading Harbor." # Sent when player doesn't have permissions to run command permission: "&7Insufficient permissions." + # Sent when command argument isn't recognized + unrecognized: "&7Not recognized." # Version identifier (do not change) version: 1.5 diff --git a/src/main/java/mykyta/Harbor/Command.java b/src/main/java/mykyta/Harbor/Command.java index 72f733e..81fee35 100644 --- a/src/main/java/mykyta/Harbor/Command.java +++ b/src/main/java/mykyta/Harbor/Command.java @@ -29,6 +29,8 @@ public class Command implements CommandExecutor { return true; } + // Unrecognized message if nothing else worked + return true; } } \ No newline at end of file