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:
parent
c6eb4a9134
commit
f7ce462761
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user