item prices: fix evalulating large platinum token stack prices

This commit is contained in:
Koanga
2020-12-16 11:44:24 -05:00
committed by GitHub
parent 34e37dcc57
commit cb82923196

View File

@@ -198,7 +198,7 @@ class ItemPricesOverlay extends Overlay
}
else if (id == ItemID.PLATINUM_TOKEN)
{
return QuantityFormatter.formatNumber(qty * 1000) + " gp";
return QuantityFormatter.formatNumber(qty * 1000L) + " gp";
}
ItemComposition itemDef = itemManager.getItemComposition(id);