Exemplo n.º 1
0
        public static void Disconnect(MinecraftClient client, IPacket _packet)
        {
            var packet = (DisconnectPacket)_packet;

            LogProvider.Log("Disconnected: " + packet.Reason);
            client.OnDisconnected(new DisconnectEventArgs(packet.Reason));
        }
Exemplo n.º 2
0
 public static void Disconnect(MinecraftClient client, IPacket _packet)
 {
     var packet = (DisconnectPacket)_packet;
     client.OnDisconnected(new DisconnectEventArgs(packet.Reason));
 }