[2024-05-25 08:15:58] System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <2161c9885dd04ff291b79db9349c4b9b>:0)
SDG.Unturned.AnimalManager.respawnAnimals () (at <4d048cb68c424e2cadd3254bef720c01>:0)
SDG.Unturned.AnimalManager.Update () (at <4d048cb68c424e2cadd3254bef720c01>:0)
[2024-05-25 08:15:58] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I'm new to C#, I don't know how to fix this error, if you can fix it that would be great!
[2024-05-25 08:15:58] System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <2161c9885dd04ff291b79db9349c4b9b>:0) SDG.Unturned.AnimalManager.respawnAnimals () (at <4d048cb68c424e2cadd3254bef720c01>:0) SDG.Unturned.AnimalManager.Update () (at <4d048cb68c424e2cadd3254bef720c01>:0) [2024-05-25 08:15:58] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
I'm new to C#, I don't know how to fix this error, if you can fix it that would be great!