Установить 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()