Fix a bug where passing a float to getItem would make stuff choke pretty badly

This commit is contained in:
cncfanatics
2010-10-09 13:48:31 +02:00
parent 5b56369dc6
commit 6353dde4c0

View File

@@ -167,7 +167,7 @@ class Market():
return self.getChildren(27)
def getItem(self, itemId):
return eos.db.getItem(itemId)
return eos.db.getItem(int(itemId))
def getMarketRoot(self):
"""