Changes

Jump to navigation Jump to search
restore known limitation (still doesn't work crossplatform)
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.</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,456

edits

Navigation menu