public static void PlayerDataChange(byte fromClient, Packet packet)
        {
            PlayerDataTypes pdtype   = (PlayerDataTypes)packet.ReadInt();
            string          variable = packet.ReadString();

            Log(Server.clients[fromClient].player.username + " " + pdtype.ToString() + " " + variable);
            object obj = null;

            switch (pdtype)
            {
            case PlayerDataTypes.Bool:
                obj = packet.ReadBool();
                break;

            case PlayerDataTypes.Float:
                obj = packet.ReadFloat();
                break;

            case PlayerDataTypes.Int:
                obj = packet.ReadInt();
                break;

            case PlayerDataTypes.Other:
                obj = packet.ReadString();
                break;

            case PlayerDataTypes.String:
                obj = packet.ReadString();
                break;

            case PlayerDataTypes.Vector3:
                obj = packet.ReadVector3();
                break;
            }

            ServerSend.UpdatePlayerData(fromClient, pdtype, variable, obj);
        }