public void HandleStatusPing(MinecraftClient client, IPacket packet) { var Ping = (CBPing)packet; client.RaisePingMs((int)(DateTime.UtcNow.Ticks - Ping.Time) / 10000); // -- 10,000 ticks per millisecond. client.nh.RaiseSocketDebug(this, "Server ping complete."); }