zAlweNy26 / AlweStats

Valheim Mod to easily see a various amount of statistics in the game !
7 stars 3 forks source link

Dictionary key already been added #27

Closed 4Magma closed 2 years ago

4Magma commented 2 years ago

[Error : Unity Log] ArgumentException: An item with the same key has already been added. Key: mountaincave02(clone) Stack trace: System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <eae584ce26bc40229c1b1aa476bfa589>:0) System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) (at :0) AlweStats.MapStats.ShowDungeonsPins (Location __instance) (at <58e89652108b40a5a71fd0e81f8f1bac>:0) (wrapper dynamic-method) Location.DMD(Location) UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion) ZoneSystem:SpawnLocation(ZoneLocation, Int32, Vector3, Quaternion, SpawnMode, List1) ZoneSystem:SpawnProxyLocation(Int32, Int32, Vector3, Quaternion) LocationProxy:SpawnLocation() LocationProxy:Awake() UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion) ZNetScene:CreateObject(ZDO) ZNetScene:CreateObjectsSorted(List1, Int32, Int32&) ZNetScene:CreateObjects(List1, List1) ZNetScene:DMD(ZNetScene) ZNetScene:DMD(ZNetScene)

zAlweNy26 commented 2 years ago

Fixed in the next patch.