diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-05 23:31:06 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-05 23:31:06 -0400 |
commit | cfc07c1ee58b113c4e2ec8d6de28a57397589068 (patch) | |
tree | dbd7bd225fb611b04e725aeb35d6f8dcde286c73 /src/SMAPI/Metadata/InstructionMetadata.cs | |
parent | 7a60e6d2a1fbddc60a4052ba577e4f64c35736b3 (diff) | |
download | SMAPI-cfc07c1ee58b113c4e2ec8d6de28a57397589068.tar.gz SMAPI-cfc07c1ee58b113c4e2ec8d6de28a57397589068.tar.bz2 SMAPI-cfc07c1ee58b113c4e2ec8d6de28a57397589068.zip |
fix reference to old Harmony namespace (#711)
Diffstat (limited to 'src/SMAPI/Metadata/InstructionMetadata.cs')
-rw-r--r-- | src/SMAPI/Metadata/InstructionMetadata.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs index 665147e4..64216138 100644 --- a/src/SMAPI/Metadata/InstructionMetadata.cs +++ b/src/SMAPI/Metadata/InstructionMetadata.cs @@ -50,7 +50,7 @@ namespace StardewModdingAPI.Metadata /**** ** detect code which may impact game stability ****/ - yield return new TypeFinder("Harmony.HarmonyInstance", InstructionHandleResult.DetectedGamePatch); + yield return new TypeFinder(typeof(HarmonyLib.Harmony).FullName, InstructionHandleResult.DetectedGamePatch); yield return new TypeFinder("System.Runtime.CompilerServices.CallSite", InstructionHandleResult.DetectedDynamic); yield return new FieldFinder(typeof(SaveGame).FullName, nameof(SaveGame.serializer), InstructionHandleResult.DetectedSaveSerializer); yield return new FieldFinder(typeof(SaveGame).FullName, nameof(SaveGame.farmerSerializer), InstructionHandleResult.DetectedSaveSerializer); |