summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/Help.java
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-05-14 21:12:27 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-05-14 21:12:27 -0400
commit90b99235257770e39a96f4d54293e4ebd7f6256c (patch)
tree4fd54e98a3be0b7705049823cb43e7b810b1699e /src/main/java/net/tylermurphy/hideAndSeek/command/Help.java
parentMerge pull request #54 from bobby29831/1.4.3 (diff)
downloadkenshinshideandseek-90b99235257770e39a96f4d54293e4ebd7f6256c.tar.gz
kenshinshideandseek-90b99235257770e39a96f4d54293e4ebd7f6256c.tar.bz2
kenshinshideandseek-90b99235257770e39a96f4d54293e4ebd7f6256c.zip
debug menu and 1.8/1.14 fixes
Diffstat (limited to '')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/command/Help.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/Help.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Help.java
index 11b0b0a..97224d7 100644
--- a/src/main/java/net/tylermurphy/hideAndSeek/command/Help.java
+++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Help.java
@@ -21,11 +21,11 @@ package net.tylermurphy.hideAndSeek.command;
import net.md_5.bungee.api.ChatColor;
import net.tylermurphy.hideAndSeek.util.CommandHandler;
-import org.bukkit.command.CommandSender;
+import org.bukkit.entity.Player;
public class Help implements ICommand {
- public void execute(CommandSender sender, String[] args) {
+ public void execute(Player sender, String[] args) {
StringBuilder message = new StringBuilder();
for(ICommand command : CommandHandler.COMMAND_REGISTER.values()) {
message.append(String.format("%s/hs %s%s %s%s\n %s%s%s", ChatColor.AQUA, ChatColor.WHITE, command.getLabel().toLowerCase(), ChatColor.BLUE, command.getUsage(), ChatColor.GRAY, ChatColor.ITALIC, command.getDescription() + "\n"));