Changes

m
→‎Custom data fields: TryGet should be TryGetValue (From C# Dictionary)
Line 6,068: Line 6,068:  
{
 
{
 
     CropData data = crop.GetData();
 
     CropData data = crop.GetData();
     if (data != null && data.CustomFields.TryGet("Example.FrameworkMod/WetTexture", out string textureName))
+
     if (data != null && data.CustomFields.TryGetValue("Example.FrameworkMod/WetTexture", out string textureName))
 
     {
 
     {
 
         // do magic
 
         // do magic