Skip to content

Commit

Permalink
fixed postfix being a prefix by kemoiii
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Jul 29, 2024
1 parent ee6db6e commit e689602
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static void Patch(Harmony harmony)

harmony.Patch(
AccessTools2.DeclaredMethod(typeof(WidgetFactory), "GetWidgetTypes"),
prefix: new HarmonyMethod(typeof(WidgetFactoryManager), nameof(GetWidgetTypesPostfix)));
postfix: new HarmonyMethod(typeof(WidgetFactoryManager), nameof(GetWidgetTypesPostfix)));

harmony.Patch(
AccessTools2.DeclaredMethod(typeof(WidgetFactory), "IsCustomType"),
Expand Down

0 comments on commit e689602

Please sign in to comment.