diff --git a/project/SPT.Custom/Patches/AllowAirdropsInPvEPatch.cs b/project/SPT.Custom/Patches/AllowAirdropsInPvEPatch.cs index 5a67da2..591a7c5 100644 --- a/project/SPT.Custom/Patches/AllowAirdropsInPvEPatch.cs +++ b/project/SPT.Custom/Patches/AllowAirdropsInPvEPatch.cs @@ -11,7 +11,7 @@ namespace SPT.Custom.Patches { protected override MethodBase GetTargetMethod() { - return typeof(GClass2333).GetProperty(nameof(GClass2333.Int32_0)).GetGetMethod(); + return typeof(GClass2404).GetProperty(nameof(GClass2404.Int32_0)).GetGetMethod(); } [PatchPrefix] diff --git a/project/SPT.Debugging/Patches/PMCBotSpawnLocationPatch.cs b/project/SPT.Debugging/Patches/PMCBotSpawnLocationPatch.cs index 8a4d5bf..42405d1 100644 --- a/project/SPT.Debugging/Patches/PMCBotSpawnLocationPatch.cs +++ b/project/SPT.Debugging/Patches/PMCBotSpawnLocationPatch.cs @@ -61,7 +61,7 @@ namespace SPT.Debugging.Patches } [PatchPrefix] - public static bool PatchPrefix(GClass1602 __instance, BotCreationDataClass data) + public static bool PatchPrefix(BotSpawner __instance, BotCreationDataClass data) { var firstBotRole = data.Profiles[0].Info.Settings.Role; if (firstBotRole is not (WildSpawnType.pmcBEAR or WildSpawnType.pmcUSEC)) diff --git a/project/SPT.SinglePlayer/Patches/MainMenu/DisableWelcomeToPVEModeMessagePatch.cs b/project/SPT.SinglePlayer/Patches/MainMenu/DisableWelcomeToPVEModeMessagePatch.cs index 5dc542d..8b9f9f4 100644 --- a/project/SPT.SinglePlayer/Patches/MainMenu/DisableWelcomeToPVEModeMessagePatch.cs +++ b/project/SPT.SinglePlayer/Patches/MainMenu/DisableWelcomeToPVEModeMessagePatch.cs @@ -8,7 +8,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu { protected override MethodBase GetTargetMethod() { - return AccessTools.Method(typeof(GClass1955), nameof(GClass1955.GetBoolForProfile)); + return AccessTools.Method(typeof(GClass2023), nameof(GClass2023.GetBoolForProfile)); } [PatchPrefix] diff --git a/project/SPT.SinglePlayer/Patches/MainMenu/EnableRefIntermScreenPatch.cs b/project/SPT.SinglePlayer/Patches/MainMenu/EnableRefIntermScreenPatch.cs index 7c4920b..56ba17d 100644 --- a/project/SPT.SinglePlayer/Patches/MainMenu/EnableRefIntermScreenPatch.cs +++ b/project/SPT.SinglePlayer/Patches/MainMenu/EnableRefIntermScreenPatch.cs @@ -12,7 +12,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu { protected override MethodBase GetTargetMethod() { - return AccessTools.Method(typeof(MerchantsList.Class2783), nameof(MerchantsList.Class2783.method_0)); + return AccessTools.Method(typeof(MerchantsList.Class2860), nameof(MerchantsList.Class2860.method_0)); } [PatchPrefix] diff --git a/project/SPT.SinglePlayer/Patches/MainMenu/RemoveClothingItemExternalObtainLabelPatch.cs b/project/SPT.SinglePlayer/Patches/MainMenu/RemoveClothingItemExternalObtainLabelPatch.cs index dc63e1a..31bbb03 100644 --- a/project/SPT.SinglePlayer/Patches/MainMenu/RemoveClothingItemExternalObtainLabelPatch.cs +++ b/project/SPT.SinglePlayer/Patches/MainMenu/RemoveClothingItemExternalObtainLabelPatch.cs @@ -15,7 +15,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu } [PatchPrefix] - private static void Prefix(ref ClothingItem.GClass3372 offer) + private static void Prefix(ref ClothingItem.GClass3461 offer) { offer.Offer.ExternalObtain = false; } diff --git a/project/SPT.SinglePlayer/Patches/Progression/FixPostScavRaidXpShowingZeroPatch.cs b/project/SPT.SinglePlayer/Patches/Progression/FixPostScavRaidXpShowingZeroPatch.cs index b4c096b..7484fab 100644 --- a/project/SPT.SinglePlayer/Patches/Progression/FixPostScavRaidXpShowingZeroPatch.cs +++ b/project/SPT.SinglePlayer/Patches/Progression/FixPostScavRaidXpShowingZeroPatch.cs @@ -22,7 +22,7 @@ namespace SPT.SinglePlayer.Patches.Progression return AccessTools.Method( typeof(SessionResultExitStatus), nameof(SessionResultExitStatus.Show), - [typeof(Profile), typeof(PlayerVisualRepresentation), typeof(ESideType), typeof(ExitStatus), typeof(TimeSpan), typeof(ISession), typeof(bool) + [typeof(Profile), typeof(GClass1917), typeof(ESideType), typeof(ExitStatus), typeof(TimeSpan), typeof(ISession), typeof(bool) ]); }