if actor.can_run(command):
# dereference the relative object path for the requested function
action = mudpy
- for component in command.get("action").split("."):
+ for component in command.get("action", command.key).split("."):
try:
action = getattr(action, component)
ran = True