mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix script not showing execution results.
This commit is contained in:
parent
8db0467f69
commit
338f534239
5 changed files with 88 additions and 7 deletions
|
|
@ -20,7 +20,7 @@ namespace MinecraftClient.Commands
|
|||
);
|
||||
|
||||
dispatcher.Register(l => l.Literal(CmdName)
|
||||
.Then(l => l.Argument("Script", Arguments.GreedyString())
|
||||
.Then(l => l.Argument("Script", MccArguments.ScriptName())
|
||||
.Executes(r => DoExecuteScript(r.Source, Arguments.GetString(r, "Script"), null)))
|
||||
.Then(l => l.Literal("_help")
|
||||
.Executes(r => GetUsage(r.Source, string.Empty))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue