Changes

Jump to navigation Jump to search
→‎Best practices: remove restriction lifted in SMAPI 3.7
Line 42: Line 42:  
<ol>
 
<ol>
 
<li>See [[#When to use Harmony|when to use Harmony]].</li>
 
<li>See [[#When to use Harmony|when to use Harmony]].</li>
<li>For crossplatform compatibility, you '''must''' use the code API to register patches. The attribute approach won't work crossplatform.
  −
{{SMAPI upcoming|3.7|Harmony attributes will work crossplatform starting with SMAPI 3.7.}}</li>
   
<li>Unhandled errors in a patch can be hard to troubleshoot, which often leads to players asking for help on the SMAPI page instead of your mod. '''Please''' handle errors, log them, and default to the original code. For example:
 
<li>Unhandled errors in a patch can be hard to troubleshoot, which often leads to players asking for help on the SMAPI page instead of your mod. '''Please''' handle errors, log them, and default to the original code. For example:
 
<source lang="C#">
 
<source lang="C#">
translators
8,403

edits

Navigation menu