update README
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Command from "../Command.js";
|
||||
import FontRenderer from "../../render/gui/FontRenderer.js";
|
||||
|
||||
export default class HelpCommand extends Command {
|
||||
|
||||
@@ -7,7 +8,7 @@ export default class HelpCommand extends Command {
|
||||
}
|
||||
|
||||
execute(minecraft, args) {
|
||||
minecraft.addMessageToChat("&2--- Showing help page ---");
|
||||
minecraft.addMessageToChat(FontRenderer.COLOR_PREFIX + "2--- Showing help page ---");
|
||||
minecraft.commandHandler.commands.forEach(command => {
|
||||
minecraft.addMessageToChat("/" + command.command + " " + command.usage + " - " + command.description);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user