From d6c286bfbf8b4bb492b37a0ab109e9b353be4d11 Mon Sep 17 00:00:00 2001 From: ORelio Date: Tue, 28 Oct 2014 21:44:40 +0100 Subject: [PATCH] Remove useless ping method from Protocol18 ping method wasn't part of the interface so it can in fact be removed without any issue. --- MinecraftClient/Protocol/Handlers/Protocol18.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index d4d8d1a1..270809dc 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -624,15 +624,5 @@ namespace MinecraftClient.Protocol.Handlers while (wait_left > 0 && !autocomplete_received) { System.Threading.Thread.Sleep(100); wait_left--; } return autocomplete_result; } - - /// - /// Ping a Minecraft server to get information about the server - /// - /// True if ping was successful - - public static bool doPing(string host, int port, ref int protocolversion) - { - return Protocol17Handler.doPing(host, port, ref protocolversion); - } } }