diff --git a/MonkeyLoader.Resonite.Integration/DataFeeds/DataFeedInjectorMonkey.cs b/MonkeyLoader.Resonite.Integration/DataFeeds/DataFeedInjectorMonkey.cs index 3b62c88..ca26239 100644 --- a/MonkeyLoader.Resonite.Integration/DataFeeds/DataFeedInjectorMonkey.cs +++ b/MonkeyLoader.Resonite.Integration/DataFeeds/DataFeedInjectorMonkey.cs @@ -27,7 +27,7 @@ internal sealed class DataFeedInjectorMonkey : ResoniteAsyncEventHand /// public override int Priority => HarmonyLib.Priority.Normal; - protected override bool AppliesTo(FallbackLocaleGenerationEvent eventData) => !Failed && Enabled; + protected override bool AppliesTo(FallbackLocaleGenerationEvent eventData) => true; protected override IEnumerable GetFeaturePatches() => []; @@ -53,7 +53,7 @@ protected override bool OnEngineReady() return base.OnEngineReady(); } - [HarmonyPrefix] + [HarmonyPostfix] private static IAsyncEnumerable EnumeratePostfix(IAsyncEnumerable __result, TDataFeed __instance, IReadOnlyList path, IReadOnlyList groupKeys, string searchPhrase, object viewData) { var eventData = new EnumerateDataFeedEvent(__instance, __result, path, groupKeys, searchPhrase, viewData);