mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 21:10:45 -05:00
Fixed glcass references
This commit is contained in:
parent
98b5ed4442
commit
a79e5f17ec
@ -11,7 +11,7 @@ namespace SPT.Custom.Patches
|
||||
{
|
||||
protected override MethodBase GetTargetMethod()
|
||||
{
|
||||
return typeof(GClass2304).GetProperty(nameof(GClass2304.Int32_0)).GetGetMethod();
|
||||
return typeof(GClass2333).GetProperty(nameof(GClass2333.Int32_0)).GetGetMethod();
|
||||
}
|
||||
|
||||
[PatchPrefix]
|
||||
|
@ -61,7 +61,7 @@ namespace SPT.Debugging.Patches
|
||||
}
|
||||
|
||||
[PatchPrefix]
|
||||
public static bool PatchPrefix(GClass1575 __instance, BotCreationDataClass data)
|
||||
public static bool PatchPrefix(GClass1602 __instance, BotCreationDataClass data)
|
||||
{
|
||||
var firstBotRole = data.Profiles[0].Info.Settings.Role;
|
||||
if (firstBotRole is not (WildSpawnType.pmcBEAR or WildSpawnType.pmcUSEC))
|
||||
|
@ -12,7 +12,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu
|
||||
{
|
||||
protected override MethodBase GetTargetMethod()
|
||||
{
|
||||
return AccessTools.Method(typeof(MerchantsList.Class2758), nameof(MerchantsList.Class2758.method_0));
|
||||
return AccessTools.Method(typeof(MerchantsList.Class2783), nameof(MerchantsList.Class2783.method_0));
|
||||
}
|
||||
|
||||
[PatchPrefix]
|
||||
|
@ -8,7 +8,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu
|
||||
{
|
||||
protected override MethodBase GetTargetMethod()
|
||||
{
|
||||
return AccessTools.Method(typeof(GClass1926), nameof(GClass1926.GetBoolForProfile));
|
||||
return AccessTools.Method(typeof(GClass1955), nameof(GClass1955.GetBoolForProfile));
|
||||
}
|
||||
|
||||
[PatchPrefix]
|
||||
|
Loading…
x
Reference in New Issue
Block a user