mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Bug fix
This commit is contained in:
parent
127978615c
commit
94a3c92b36
62 changed files with 371 additions and 297 deletions
|
|
@ -224,7 +224,7 @@ namespace MinecraftClient
|
|||
|
||||
sugList.Add(new("/"));
|
||||
|
||||
var childs = CmdResult.client?.dispatcher.GetRoot().Children;
|
||||
var childs = McClient.dispatcher.GetRoot().Children;
|
||||
if (childs != null)
|
||||
foreach (var child in childs)
|
||||
sugList.Add(new(child.Name));
|
||||
|
|
@ -246,7 +246,7 @@ namespace MinecraftClient
|
|||
}
|
||||
else
|
||||
{
|
||||
CommandDispatcher<CmdResult>? dispatcher = CmdResult.client?.dispatcher;
|
||||
CommandDispatcher<CmdResult>? dispatcher = McClient.dispatcher;
|
||||
if (dispatcher == null)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue