mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Remove useless ping method from Protocol18
ping method wasn't part of the interface so it can in fact be removed without any issue.
This commit is contained in:
parent
f0f8183182
commit
d6c286bfbf
1 changed files with 0 additions and 10 deletions
|
|
@ -624,15 +624,5 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
while (wait_left > 0 && !autocomplete_received) { System.Threading.Thread.Sleep(100); wait_left--; }
|
while (wait_left > 0 && !autocomplete_received) { System.Threading.Thread.Sleep(100); wait_left--; }
|
||||||
return autocomplete_result;
|
return autocomplete_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Ping a Minecraft server to get information about the server
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>True if ping was successful</returns>
|
|
||||||
|
|
||||||
public static bool doPing(string host, int port, ref int protocolversion)
|
|
||||||
{
|
|
||||||
return Protocol17Handler.doPing(host, port, ref protocolversion);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue