mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-13 03:13:26 -04:00
Cleanup + persistence fix
This commit is contained in:
@@ -14,7 +14,7 @@ def run(core, actor, target, commandString):
|
||||
if actorContainer != None and (container.getTemplate() == "object/cell/shared_cell.iff") & core.housingService.getPermissions(actor, actorContainer):
|
||||
target.getContainer().transferTo(actor, container, target)
|
||||
core.simulationService.teleport(target, actor.getPosition(), Quaternion(1,0,0,0), containerID)
|
||||
core.housingService.addItemToHouseItemList(target,actorContainer)
|
||||
#core.housingService.addItemToHouseItemList(target,actorContainer)
|
||||
return
|
||||
elif actorContainer != None and container.getTemplate() == "object/cell/shared_cell.iff":
|
||||
actor.sendSystemMessage("You do not have permission to access that container!", 0)
|
||||
|
||||
Reference in New Issue
Block a user