0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 04:30:45 -05:00

fix InsurancePlaceItemPatch

This commit is contained in:
CWX 2024-07-04 21:54:07 +01:00
parent c6eb4a9134
commit f7ce462761

View File

@ -9,11 +9,11 @@ namespace SPT.Custom.Patches
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
return AccessTools.Method(typeof(Class1496), nameof(Class1496.method_0)); return AccessTools.Method(typeof(Class1518), nameof(Class1518.method_0));
} }
[PatchPostfix] [PatchPostfix]
private static void PatchPostfix(Class1496 __instance, bool successful) private static void PatchPostfix(Class1518 __instance, bool successful)
{ {
if (!successful) if (!successful)
{ {