mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Allow more than one persona flag to be used
This commit is contained in:
@@ -762,7 +762,7 @@ public sealed class ArchiHandler : ClientMsgHandler {
|
||||
throw new InvalidEnumArgumentException(nameof(state), (int) state, typeof(EPersonaState));
|
||||
}
|
||||
|
||||
if (!Enum.IsDefined(flags)) {
|
||||
if (flags < 0) {
|
||||
throw new InvalidEnumArgumentException(nameof(flags), (int) flags, typeof(EPersonaStateFlag));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user