All was working fine but now Rust.Workshop.Approved.All is null and throw an error:
ExType: TypeInitializationException
Failed to initialize plugin 'LootContainerSkinGambler v1.0.0' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <20267660e4ee4bfcba891d8ab73193c6>:0
at Rust.Workshop.Approved.Add_February_04_2020 () [0x00000] in <20267660e4ee4bfcba891d8ab73193c6>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <20267660e4ee4bfcba891d8ab73193c6>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <20267660e4ee4bfcba891d8ab73193c6>:0
I'm doing anything, just trying an empty foreach throw the error:
foreach (var pair in Rust.Workshop.Approved.All)
{
Puts("OK");
}