Issue PyTK Mod crashed on entry

Megolopolis

Newcomer
I've downloaded the unofficial PyTK mod which I think is for 1.5.5...but I am getting a crashed error.


[PyTK] Mod crashed on entry and might not work correctly. Technical details:
HarmonyLib.HarmonyException: Patching exception in method virtual System.Boolean StardewValley.GameLocation::answerDialogue(StardewValley.Response answer)
---> InvalidProgramException: Common Language Runtime detected an invalid program.
at System.Runtime.CompilerServices.RuntimeHelpers._PrepareMethod(IRuntimeMethodInfo method, IntPtr* pInstantiation, Int32 cInstantiation)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.PrepareMethod(MethodBase method, RuntimeMethodHandle handle)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.<>c__DisplayClass24_0.<Pin>b__0(MethodBase m)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(MethodBase method)
at MonoMod.RuntimeDetour.DetourHelper.Pin[T](T method)
at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
at HarmonyLib.PatchClassProcessor.ProcessPatchJob(Job job)
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
at HarmonyLib.PatchClassProcessor.Patch()
at HarmonyLib.Harmony.<PatchAll>b__10_0(Type type)
at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
at PyTK.PyTKMod.harmonyFix() in /Users/ishanjalan/RiderProjects/Platonymous/PyTK/PyTKMod.cs:line 385
at PyTK.PyTKMod.Entry(IModHelper helper) in /Users/ishanjalan/RiderProjects/Platonymous/PyTK/PyTKMod.cs:line 105
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1529

Any advice?
 
Top