summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-05 23:31:06 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-05 23:31:06 -0400
commitcfc07c1ee58b113c4e2ec8d6de28a57397589068 (patch)
treedbd7bd225fb611b04e725aeb35d6f8dcde286c73 /src/SMAPI/Metadata
parent7a60e6d2a1fbddc60a4052ba577e4f64c35736b3 (diff)
downloadSMAPI-cfc07c1ee58b113c4e2ec8d6de28a57397589068.tar.gz
SMAPI-cfc07c1ee58b113c4e2ec8d6de28a57397589068.tar.bz2
SMAPI-cfc07c1ee58b113c4e2ec8d6de28a57397589068.zip
fix reference to old Harmony namespace (#711)
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r--src/SMAPI/Metadata/InstructionMetadata.cs2
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);