Changes

84 bytes removed ,  19:36, 26 May 2018
Line 64: Line 64:  
<source lang="c#">
 
<source lang="c#">
   −
            foreach (var tf in Game1.getFarm().terrainFeatures.Pairs)
+
foreach (var tf in Game1.getFarm().terrainFeatures.Pairs)
            {
+
{
                if ((tf.Value is HoeDirt hd) && hd.crop != null)
+
    if ((tf.Value is HoeDirt hd) && hd.crop != null)
                {
+
    {
                    // do crop like things here.
+
        // do crop like things here.
                }
+
    }
            }
+
}
 
</source>
 
</source>
  
37

edits