public void SyncPlayerToInfo()
        {
            lock (this)
            {
                if (/*currentSaving != MainSaving ||*/ !IsLogin)
                {
                    return;
                }
                if (PrototypePlayer == null || !PrototypePlayer.active)
                {
                    return;
                }
                currentSaving.LifeMax    = PrototypePlayer.statLifeMax;
                currentSaving.StatLife   = PrototypePlayer.statLife;
                currentSaving.StatMana   = PrototypePlayer.statMana;
                currentSaving.ManaMax    = PrototypePlayer.statManaMax;
                currentSaving.inventory  = PrototypePlayer.inventory;
                currentSaving.armor      = PrototypePlayer.armor;
                currentSaving.dye        = PrototypePlayer.dye;
                currentSaving.miscEquips = PrototypePlayer.miscEquips;
                currentSaving.miscDye    = PrototypePlayer.miscDyes;
                currentSaving.bank       = PrototypePlayer.bank;
                currentSaving.SaveHideVisual(PrototypePlayer);
                //bank2 = PrototypePlayer.bank2;
                //bank3 = PrototypePlayer.bank3;

                if (currentSaving == MainSaving)
                {
                    _info.LifeMax    = MainSaving.LifeMax;
                    _info.StatLife   = MainSaving.StatLife;
                    _info.ManaMax    = MainSaving.ManaMax;
                    _info.StatMana   = MainSaving.StatMana;
                    _info.hideVisual = MainSaving.hideVisual;
                    //try
                    //{
                    ServerUtils.CopyToItemData(MainSaving.inventory, _info.inventory);
                    ServerUtils.CopyToItemData(MainSaving.armor, _info.armor);
                    ServerUtils.CopyToItemData(MainSaving.dye, _info.dye);
                    ServerUtils.CopyToItemData(MainSaving.miscEquips, _info.miscEquips);
                    ServerUtils.CopyToItemData(MainSaving.miscDye, _info.miscDye);
                    ServerUtils.CopyToItemData(MainSaving.bank.item, _info.bank);

                    //}
                    //catch(SSCException ex)
                    //{
                    //	CommandBoardcast.ConsoleMessage($"玩家 {Name} 的物品出现堆叠异常");
                    //}
                }

                //ServerUtils.CopyToItemData(bank2.item, _info.bank2);
                //ServerUtils.CopyToItemData(bank3.item, _info.bank3);
            }
        }