mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-11 21:45:43 -04:00
Fixed error with transferring items
This commit is contained in:
@@ -28,7 +28,7 @@ def run(core, actor, target, commandString):
|
||||
|
||||
if target.isLootItem():
|
||||
target.setLootItem(0)
|
||||
actor.sendSystemMessage('You looted ' + target.getTrueName() + ' from corpse.', 0)
|
||||
actor.sendSystemMessage('You looted ' + target.getStf().getStfValue() + ' from corpse.', 0)
|
||||
|
||||
if actorContainer != None and (container.getTemplate() == "object/cell/shared_cell.iff") & core.housingService.getPermissions(actor, actorContainer):
|
||||
target.getContainer().transferTo(actor, container, target)
|
||||
|
||||
Reference in New Issue
Block a user