From 93cfe3961f985ac9d45030f520480bd37f37bf82 Mon Sep 17 00:00:00 2001 From: Wesley Wolfe Date: Fri, 2 Aug 2013 19:04:39 -0500 Subject: [PATCH] Indicate help is a command. Fixes BUKKIT-4642 --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 6cb50b71cb..51afd2564e 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -524,7 +524,11 @@ public final class CraftServer implements Server { return true; } - sender.sendMessage("Unknown command. Type \"help\" for help."); + if (sender instanceof Player) { + sender.sendMessage("Unknown command. Type \"/help\" for help."); + } else { + sender.sendMessage("Unknown command. Type \"help\" for help."); + } return false; }