Ejemplo n.º 1
0
 private static void HoeDirt_plant_Patch()
 {
     HarmonyPatcher.ApplyPatch(
         caller: typeof(HoeDirt_Patch).GetMethod("plant_Postfix"),
         original: typeof(HoeDirt).GetMethod("plant"),
         prefix: new HarmonyMethod(typeof(HoeDirt_Patch).GetMethod("plant_Prefix")),
         postfix: new HarmonyMethod(typeof(HoeDirt_Patch).GetMethod("plant_Postfix"))
         );
 }