mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Packages update
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
<PackageReference Include="Humanizer" Version="2.3.3" />
|
<PackageReference Include="Humanizer" Version="2.3.3" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
|
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
|
||||||
<PackageReference Include="NLog" Version="4.5.6" />
|
<PackageReference Include="NLog" Version="4.5.6" />
|
||||||
<PackageReference Include="SteamKit2" Version="2.1.0-Beta.1" />
|
<PackageReference Include="SteamKit2" Version="2.1.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
|
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
|
||||||
|
|||||||
@@ -194,8 +194,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
// User might not know what he's doing
|
// User might not know what he's doing
|
||||||
// Ensure that he can't screw core ASF variables
|
// Ensure that he can't screw core ASF variables
|
||||||
// TODO: Change me to >= EPersonaState.Max with next SK2 release
|
if ((botConfig.OnlineStatus < EPersonaState.Offline) || (botConfig.OnlineStatus >= EPersonaState.Max)) {
|
||||||
if ((botConfig.OnlineStatus < EPersonaState.Offline) || (botConfig.OnlineStatus > EPersonaState.Max)) {
|
|
||||||
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorConfigPropertyInvalid, nameof(botConfig.OnlineStatus), botConfig.OnlineStatus));
|
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorConfigPropertyInvalid, nameof(botConfig.OnlineStatus), botConfig.OnlineStatus));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user