mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Add deprecation warning for GetInventory
This commit is contained in:
@@ -131,6 +131,8 @@ namespace ArchiSteamFarm {
|
||||
return null;
|
||||
}
|
||||
|
||||
Bot.ArchiLogger.LogGenericWarning(string.Format(Strings.WarningDeprecated, nameof(GetInventory) + " (" + nameof(Plugins) + ")", nameof(GetInventoryAsync)));
|
||||
|
||||
try {
|
||||
return await GetInventoryAsync(steamID, appID, contextID).Where(
|
||||
item =>
|
||||
|
||||
Reference in New Issue
Block a user