mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-27 17:57:22 -04:00
Fixed potential client null with appearance items.
This commit is contained in:
@@ -40,13 +40,13 @@ def run(core, actor, target, commandString):
|
||||
if object != None:
|
||||
actor.transferTo(actor, oldContainer, object)
|
||||
|
||||
oldContainer.transferTo(actor, container, target)
|
||||
|
||||
if oldContainer == actor.getSlottedObject('appearance_inventory'):
|
||||
actor.removeObjectFromAppearanceEquipList(target)
|
||||
|
||||
|
||||
oldContainer.transferTo(actor, container, target)
|
||||
|
||||
if container == actor.getSlottedObject('appearance_inventory'):
|
||||
actor.addObjectToAppearanceEquipList(target)
|
||||
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user