mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Indicate help is a command. Fixes BUKKIT-4642
This commit is contained in:
parent
720a8d706a
commit
93cfe3961f
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue