Changes

Jump to navigation Jump to search
Line 20: Line 20:     
===Check if a file exists===
 
===Check if a file exists===
{{SMAPI upcoming|2.11}}
+
{{SMAPI upcoming|3.0}}
    
You can check if a file exists in the content pack folder using <tt>HasFile</tt>. You can specify a relative path like <tt>data/content.json</tt>.
 
You can check if a file exists in the content pack folder using <tt>HasFile</tt>. You can specify a relative path like <tt>data/content.json</tt>.
translators
8,403

edits

Navigation menu