diff --git a/src/Bannerlord.UIExtenderEx/ResourceManager/WidgetFactoryManager.cs b/src/Bannerlord.UIExtenderEx/ResourceManager/WidgetFactoryManager.cs index 33ffe59..42a62d7 100644 --- a/src/Bannerlord.UIExtenderEx/ResourceManager/WidgetFactoryManager.cs +++ b/src/Bannerlord.UIExtenderEx/ResourceManager/WidgetFactoryManager.cs @@ -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"),