mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 02:10:45 -05:00
Fix beta logo 1 patch (!166)
Parameter length changed. Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com> Reviewed-on: SPT/Modules#166 Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com> Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
This commit is contained in:
parent
b7a41c81e9
commit
5edf26b049
@ -22,7 +22,7 @@ namespace SPT.Custom.Patches
|
||||
ParameterInfo[] parameters = method.GetParameters();
|
||||
|
||||
return method.ReturnType == typeof(Task)
|
||||
&& parameters.Length == 4
|
||||
&& parameters.Length == 5
|
||||
&& parameters[0].ParameterType == typeof(Profile)
|
||||
&& parameters[1].ParameterType == typeof(ProfileStatusClass);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user