From 6110100ec09b3680e6dda080534651cd656cda91 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 26 Dec 2024 20:20:13 +0000 Subject: [PATCH] fix firearmcontroller patch --- .../FirearmControllerShowIncompatibleNotificationClass.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/SPT.SinglePlayer/Patches/RaidFix/FirearmControllerShowIncompatibleNotificationClass.cs b/project/SPT.SinglePlayer/Patches/RaidFix/FirearmControllerShowIncompatibleNotificationClass.cs index 8290bb1..45602f7 100644 --- a/project/SPT.SinglePlayer/Patches/RaidFix/FirearmControllerShowIncompatibleNotificationClass.cs +++ b/project/SPT.SinglePlayer/Patches/RaidFix/FirearmControllerShowIncompatibleNotificationClass.cs @@ -11,7 +11,7 @@ namespace SPT.SinglePlayer.Patches.RaidFix { protected override MethodBase GetTargetMethod() { - return typeof(Player.FirearmController.GClass1748).GetMethod(nameof(Player.FirearmController.GClass1748.ShowIncompatibleNotification)); + return typeof(Player.FirearmController.GClass1775).GetMethod(nameof(Player.FirearmController.GClass1775.ShowIncompatibleNotification)); } [PatchPrefix]