Hey getting the following on load with the latest version:
Error in static constructor of Locks.Initialization: System.TypeInitializationException: The type initializer for 'Locks.Initialization' threw an exception. ---> System.ArgumentException: You can only patch implemented methods/constructors. Patch the declared method virtual System.Boolean RimWorld.Building_Door::PawnCanOpen(Verse.Pawn p) instead.
[Ref 954C37C7]
at HarmonyLib.PatchProcessor.Patch () [0x00051] in :0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in :0
at Locks.CompatibilityPatches.DoorsExpanded.Init () [0x00077] in <5e837cb6233f47dd86ca0419e4b5ec04>:0
at <0x1eb3f85f220 + 0x0003a>
--- End of inner exception stack trace ---
[Ref 8424EA15]
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in :0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <332f949bcc384ea8b3e92bd925a3878c>:0
Hey getting the following on load with the latest version:
Error in static constructor of Locks.Initialization: System.TypeInitializationException: The type initializer for 'Locks.Initialization' threw an exception. ---> System.ArgumentException: You can only patch implemented methods/constructors. Patch the declared method virtual System.Boolean RimWorld.Building_Door::PawnCanOpen(Verse.Pawn p) instead. [Ref 954C37C7] at HarmonyLib.PatchProcessor.Patch () [0x00051] in:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in :0
at Locks.CompatibilityPatches.DoorsExpanded.Init () [0x00077] in <5e837cb6233f47dd86ca0419e4b5ec04>:0
at <0x1eb3f85f220 + 0x0003a>
--- End of inner exception stack trace ---
[Ref 8424EA15]
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in :0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <332f949bcc384ea8b3e92bd925a3878c>:0