安装 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()