public void MessageReceived(byte[] data)
        {
            Packet packet = PacketManager.ConvertToPacket(data);

            Log.Info(type, $"Got {packet.Type}");

            switch (packet.Type)
            {
            case PacketManager.PacketType.DEBUG_TEXT:
                Log.Info(type, ((Common.Network.PacketManagement.Packets.Debug)packet.Deserialize(data)).Text);
                break;

            default:
                break;
            }
        }