Changes

Jump to navigation Jump to search
→‎How to use it: tweak example to avoid alias confusion
Line 32: Line 32:  
// example patch, you'll need to edit this for your patch
 
// example patch, you'll need to edit this for your patch
 
harmony.Patch(
 
harmony.Patch(
   original: AccessTools.Method(typeof(SObject), nameof(SObject.canBePlacedHere)),
+
   original: AccessTools.Method(typeof(StardewValley.Object), nameof(StardewValley.Object.canBePlacedHere)),
 
   prefix: new HarmonyMethod(typeof(ObjectPatches), nameof(ObjectPatches.CanBePlacedHere_Prefix))
 
   prefix: new HarmonyMethod(typeof(ObjectPatches), nameof(ObjectPatches.CanBePlacedHere_Prefix))
 
);
 
);
translators
8,404

edits

Navigation menu