Move booster and implant meta swap out of meta swap command
This commit is contained in:
@@ -411,6 +411,7 @@ class Character(object):
|
||||
return
|
||||
|
||||
implant = es_Implant(eos.db.getItem(itemID))
|
||||
char.implants.makeRoom(implant)
|
||||
char.implants.append(implant)
|
||||
eos.db.commit()
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ class ImplantSets(object):
|
||||
def addImplant(setID, itemID):
|
||||
implant_set = eos.db.getImplantSet(setID)
|
||||
implant = es_Implant(eos.db.getItem(itemID))
|
||||
implant_set.implants.makeRoom(implant)
|
||||
implant_set.implants.append(implant)
|
||||
eos.db.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user