mod运行无问题,进入存档后出现红字,红字如下:
[Stardew Aquarium Code] This mod failed in the GameLoop.SaveLoaded event. Technical details:
ArgumentException: An item with the same key has already been added. Key: Lionfish
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at StardewAquarium.Utils.GameLoop_SaveLoaded(Object sender, SaveLoadedEventArgs e) in C:\Users\chron\source\repos\stardew-valley-mods\StardewAquarium\src\Utils.cs:line 61
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
[SMAPI] Skipped mods
大概看了下是已经添加了具有相同键的项,但具体不会修改。尝试看了看网上的说法实在无法解决(看不懂),求大神!!
[Stardew Aquarium Code] This mod failed in the GameLoop.SaveLoaded event. Technical details:
ArgumentException: An item with the same key has already been added. Key: Lionfish
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at StardewAquarium.Utils.GameLoop_SaveLoaded(Object sender, SaveLoadedEventArgs e) in C:\Users\chron\source\repos\stardew-valley-mods\StardewAquarium\src\Utils.cs:line 61
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
[SMAPI] Skipped mods
大概看了下是已经添加了具有相同键的项,但具体不会修改。尝试看了看网上的说法实在无法解决(看不懂),求大神!!
ou








