mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Indicate help is a command. Fixes BUKKIT-4642
This commit is contained in:
parent
720a8d706a
commit
93cfe3961f
@ -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 New Issue
Block a user