Fix issue of nowhere to buy a material (mainly for mineables)
This commit is contained in:
parent
50e192ba9b
commit
274c09fcdf
@ -238,6 +238,7 @@ async def calculate_trade_profies(commodity, scu=None):
|
|||||||
costs[station] = trades["buy"][commodity] * int(scu)
|
costs[station] = trades["buy"][commodity] * int(scu)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if len(costs):
|
||||||
embed.add_field(
|
embed.add_field(
|
||||||
name="**Best place to buy %s of %s**" % (scu_string, commodity),
|
name="**Best place to buy %s of %s**" % (scu_string, commodity),
|
||||||
value="%s: $%s"
|
value="%s: $%s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user