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:
ORelio 2014-10-28 21:44:40 +01:00
parent f0f8183182
commit d6c286bfbf

View file

@ -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);
}
} }
} }