From f3e7a3b85347c8dfbaf458843e64918a31fff4ff Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 6 Mar 2019 21:25:40 -0800 Subject: [PATCH] More work on the command/config --- config.yml | 2 ++ src/main/java/mykyta/Harbor/Command.java | 2 ++ 2 files changed, 4 insertions(+) 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