Skip to content

Commit 35e8d12

Browse files
authored
Merge pull request #66 from Sadzurami/fix-MaxItemsPerTrade-validation
fix: update MaxItemsPerTrade validation
2 parents 852756e + ab7377e commit 35e8d12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BotLooter/Resources/Configuration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ В параметре конфига 'Inventories' не указаны инве
9696
""");
9797
}
9898

99-
if (config.MaxItemsPerTrade < 8192)
99+
if (config.MaxItemsPerTrade > 8192)
100100
{
101-
return (null, $"Параметр конфига 'MaxItemsPerTrade' не должен быть меньше 8192, текущее значение: {config.MaxItemsPerTrade}");
101+
return (null, $"Параметр конфига 'MaxItemsPerTrade' не должен быть больше 8192, текущее значение: {config.MaxItemsPerTrade}");
102102
}
103103

104104
return (config, "");

0 commit comments

Comments
 (0)