public static void RemovePrefix(PatchInfo patchInfo, HarmonyMethod info) { if (info == null || info.method == null) { return; } patchInfo.RemovePrefix(info.method); }
public static void RemovePrefix(PatchInfo patchInfo, string owner) { patchInfo.RemovePrefix(owner); }