Инсталирайте Steam
вход
|
език
Опростен китайски (简体中文)
Традиционен китайски (繁體中文)
Японски (日本語)
Корейски (한국어)
Тайландски (ไทย)
Чешки (Čeština)
Датски (Dansk)
Немски (Deutsch)
Английски (English)
Испански — Испания (Español — España)
Испански — Латинска Америка (Español — Latinoamérica)
Гръцки (Ελληνικά)
Френски (Français)
Италиански (Italiano)
Индонезийски (Bahasa Indonesia)
Унгарски (Magyar)
Холандски (Nederlands)
Норвежки (Norsk)
Полски (Polski)
Португалски (Português)
Бразилски португалски (Português — Brasil)
Румънски (Română)
Руски (Русский)
Финландски (Suomi)
Шведски (Svenska)
Турски (Türkçe)
Виетнамски (Tiếng Việt)
Украински (Українська)
Докладване на проблем с превода
yep
Yes, I’ll try to fix it. Although I haven’t been able to reproduce the issue on my end, I can use a safer copy-based iteration in the API, which should prevent this kind of collection access conflict. I’ll release a patch for this soon.
At the same time, InnoVault.GameSystem.PlayerRebuildLoader.CanUseItem() was also running. This shows that the InnoVault mod was checking your items for its own purposes.
The crash occurred because AutoHealMod was likely trying to use (and thus remove) an item from your inventory while InnoVault was actively trying to look at all of the items in that same inventory."
How did you trigger this error?
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
at InnoVault.GameSystem.PlayerRebuildLoader.CanUseItem(Item item) in InnoVault\GameSystem\PlayerRebuildLoader.cs:line 486
at Terraria.ModLoader.CombinedHooks.CanUseItem(Player player, Item item) in tModLoader\Terraria\ModLoader\CombinedHooks.cs:line 61
at Terraria.Player.QuickHeal_GetItemToUse() in tModLoader\Terraria\Player.cs:line 3915
at AutoHealMod.AutoHealCode.PostUpdateBuffs() in AutoHealMod\AutoHealCode.cs:line 23
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()