mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-28 01:10:35 +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;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue