diff options
Diffstat (limited to 'src/StardewModdingAPI/Metadata/InstructionMetadata.cs')
-rw-r--r-- | src/StardewModdingAPI/Metadata/InstructionMetadata.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Metadata/InstructionMetadata.cs b/src/StardewModdingAPI/Metadata/InstructionMetadata.cs index fc4f112c..c53755ae 100644 --- a/src/StardewModdingAPI/Metadata/InstructionMetadata.cs +++ b/src/StardewModdingAPI/Metadata/InstructionMetadata.cs @@ -70,6 +70,11 @@ namespace StardewModdingAPI.Metadata #endif /**** + ** detect code which may impact game stability + ****/ + new TypeFinder("Harmony.HarmonyInstance", InstructionHandleResult.DetectedGamePatch), + + /**** ** rewrite CIL to fix incompatible code ****/ // crossplatform |