From 95f78addee99153dfbe47b1e0445d9d3141f02fc Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Tue, 17 Sep 2024 12:33:38 -0400 Subject: [PATCH] oops --- MiraAPI/Patches/Roles/TaskAdderPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Patches/Roles/TaskAdderPatch.cs b/MiraAPI/Patches/Roles/TaskAdderPatch.cs index bb2c736..ee3c34d 100644 --- a/MiraAPI/Patches/Roles/TaskAdderPatch.cs +++ b/MiraAPI/Patches/Roles/TaskAdderPatch.cs @@ -271,7 +271,7 @@ public static bool ShowPatch(TaskAdderGame __instance, [HarmonyArgument(0)] Task if (ModsFolders.TryGetValue(taskFolder.FolderName, out var guid)) { - var plugin = MiraPluginManager.Instance.GetPluginByGuid(guid); + var plugin = MiraPluginManager.GetPluginByGuid(guid); for (var m = 0; m < plugin.CustomRoles.Count; m++) { var roleBehaviour = plugin.CustomRoles.ElementAt(m).Value;