fixup string handling to use uints, since everything is realistically unsigned, and it can break encoding of actual 32-bit values otherwise

This commit is contained in:
meli 2020-04-02 22:17:24 -07:00
parent 6d50cdc398
commit 8fbac95b6b
6 changed files with 35 additions and 34 deletions

View file

@ -187,7 +187,7 @@ namespace Dalamud.Game {
if (!valueInfo.Success || !int.TryParse(valueInfo.Value.Replace(",", "").Replace(".", ""), out var itemValue))
continue;
Task.Run(() => this.dalamud.BotManager.ProcessRetainerSale(itemLink.ItemId, itemValue, itemLink.IsHQ));
Task.Run(() => this.dalamud.BotManager.ProcessRetainerSale((int)itemLink.ItemId, itemValue, itemLink.IsHQ));
break;
}
}