diff --git a/Harmony/Documentation/articles/patching-auxiliary.md b/Harmony/Documentation/articles/patching-auxiliary.md index 43e03671..236e4792 100644 --- a/Harmony/Documentation/articles/patching-auxiliary.md +++ b/Harmony/Documentation/articles/patching-auxiliary.md @@ -2,7 +2,7 @@ ## Auxiliary patch methods -If you use manual patching, you are in full control of your state and the execution and handling of extra resources and logic. For annotation patching, Harmony offers you a number of methods you can implement on a patch class that allow you to execute code before and after patching on that class as well as methods that combine annotations with manually defining which methods that should be patched. +If you use manual patching, you are in full control of your state and the execution and handling of extra resources and logic. For annotation patching, Harmony offers you a number of methods you can implement on a patch class that allow you to execute code before and after patching on that class as well as methods that combine annotations with manually defining which methods should be patched. Each of those methods can take up to three optional arguments that are injected by type so you can call them anything you like: @@ -51,7 +51,7 @@ If you want to patch multiple methods with the same patch, you can use `TargetMe ```csharp static IEnumerable TargetMethods(...) // or -[HarmonyTargetMethod] +[HarmonyTargetMethods] static IEnumerable CalculateMethods(...) ```