Add submodule MinecraftProtocolLibrary

This commit is contained in:
BruceChen 2022-12-23 00:50:20 +08:00
parent 87026e1bfb
commit 3f1de66af3
62 changed files with 1093 additions and 450 deletions

View file

@ -41,7 +41,7 @@ namespace MinecraftClient.Commands
private int DoExecuteScript(CmdResult r, string command, Dictionary<string, object>? localVars)
{
McClient handler = CmdResult.currentHandler!;
handler.BotLoad(new ChatBots.Script(command.Trim(), null, localVars));
handler.BotLoad(new ChatBots.Script(command.Trim(), null, localVars)).Wait();
return r.SetAndReturn(CmdResult.Status.Done);
}
}