Indicate help is a command. Fixes BUKKIT-4642

This commit is contained in:
Wesley Wolfe 2013-08-02 19:04:39 -05:00
parent 720a8d706a
commit 93cfe3961f

View file

@ -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;
}