mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
.NET 5.0 (#1999)
* Initial work * Fix CIs * Fix warnings * Update .travis.yml * Update dockerfiles * Update libraries to .NET 5.0 * Misc * Remove workaround for #1812 * Update cc.sh * CI updates * CI updates * Update .travis.yml
This commit is contained in:
committed by
GitHub
parent
9a248858a5
commit
35f4651ed6
@@ -56,7 +56,7 @@ namespace ArchiSteamFarm.Plugins {
|
||||
return StringComparer.Ordinal;
|
||||
}
|
||||
|
||||
StringComparer? result = results.FirstOrDefault(comparer => comparer != null);
|
||||
StringComparer? result = results.FirstOrDefault();
|
||||
|
||||
return result ?? StringComparer.Ordinal;
|
||||
}
|
||||
@@ -427,7 +427,7 @@ namespace ArchiSteamFarm.Plugins {
|
||||
return null;
|
||||
}
|
||||
|
||||
return responses.Where(response => response != null).SelectMany(handler => handler).Where(handler => handler != null).ToHashSet();
|
||||
return responses.Where(response => response != null).SelectMany(handlers => handlers ?? Enumerable.Empty<ClientMsgHandler>()).ToHashSet();
|
||||
}
|
||||
|
||||
internal static async Task<bool> OnBotTradeOffer(Bot bot, Steam.TradeOffer tradeOffer) {
|
||||
|
||||
Reference in New Issue
Block a user