From b40b7e04b7ae80d7f184ce4ecede1f9ef05e4ea8 Mon Sep 17 00:00:00 2001 From: MFHKiwi Date: Sun, 11 Jul 2021 22:20:10 +1200 Subject: [PATCH] Added new command to help screen --- src/main/java/me/MFHKiwi/KiwiClaims/KCommandHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/MFHKiwi/KiwiClaims/KCommandHandler.java b/src/main/java/me/MFHKiwi/KiwiClaims/KCommandHandler.java index d646569..633631b 100644 --- a/src/main/java/me/MFHKiwi/KiwiClaims/KCommandHandler.java +++ b/src/main/java/me/MFHKiwi/KiwiClaims/KCommandHandler.java @@ -29,7 +29,7 @@ public class KCommandHandler implements CommandExecutor { private final KiwiClaims plugin; private final KPlayerListener listener; - private final String[] help_message = new String[9]; + private final String[] help_message = new String[10]; private final String[] owner_set = new String[2]; private final String incorrect_usage, plugin_info, not_player, claim_message, not_in_claim, unclaim_message, not_allowed, trust_message, already_trusted, untrust_message, already_untrusted, internal_error, no_permission, already_owner; @@ -49,6 +49,7 @@ public KCommandHandler(KiwiClaims plugin, KPlayerListener listener) { this.help_message[6] = colour2 + " - " + colour1 + "/kc untrust " + colour2 + ": Untrust player in claim"; this.help_message[7] = colour2 + " - " + colour1 + "/kc exclude" + colour2 + ": Create exclusion zone"; this.help_message[8] = colour2 + " - " + colour1 + "/kc unexclude" + colour2 + ": Remove exclusion zone"; + this.help_message[9] = colour2 + " - " + colour1 + "/kc visualise/vis" + colour2 + ": Visualise claim corners"; this.incorrect_usage = colour1 + "Incorrect usage. See " + colour2 + "/kc help" + colour1 + "."; this.plugin_info = colour1 + plugin.getDescription().getFullName() + colour2 + " by MFHKiwi"; this.not_player = colour1 + "You must be a player to run this command.";