13
0
geforkt von Mirrors/Paper

Indicate help is a command. Fixes BUKKIT-4642

By: Wesley Wolfe <weswolf@aol.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2013-08-02 19:04:39 -05:00
Ursprung 1e6a141afb
Commit 249638ac01

Datei anzeigen

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