From f7ce462761299bf2236a2ab876374e26c67774ab Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 4 Jul 2024 21:54:07 +0100 Subject: [PATCH] fix InsurancePlaceItemPatch --- project/SPT.Custom/Patches/InsurancePlaceItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/SPT.Custom/Patches/InsurancePlaceItem.cs b/project/SPT.Custom/Patches/InsurancePlaceItem.cs index ed5a1b1..13e3357 100644 --- a/project/SPT.Custom/Patches/InsurancePlaceItem.cs +++ b/project/SPT.Custom/Patches/InsurancePlaceItem.cs @@ -9,11 +9,11 @@ namespace SPT.Custom.Patches { protected override MethodBase GetTargetMethod() { - return AccessTools.Method(typeof(Class1496), nameof(Class1496.method_0)); + return AccessTools.Method(typeof(Class1518), nameof(Class1518.method_0)); } [PatchPostfix] - private static void PatchPostfix(Class1496 __instance, bool successful) + private static void PatchPostfix(Class1518 __instance, bool successful) { if (!successful) {