Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 10a3ae1

Browse files
New icon pack
1 parent 30a6707 commit 10a3ae1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eSim/Basic/inventory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ async def Inventory(server, ctx=None):
3737
elif "upgrade" in item.xpath('b/text()')[0].lower():
3838
products.append("Upgrades")
3939
for item in container_1:
40-
name = item.xpath("div[2]/img/@src")[0].replace("//cdn.e-sim.org//img/productIcons/", "").replace(".png", "")
40+
name = item.xpath("div[2]/img/@src")[0].replace("//cdn.e-sim.org//img/productIcons/", "").replace(
41+
"Rewards/","").replace(".png", "")
4142
if name.lower() in ["iron", "grain", "diamonds", "oil", "stone", "wood"]:
4243
quality = ""
4344
else:

0 commit comments

Comments
 (0)