Fixed player-level commands that were not updated to handle the cmdhandler's dealing with Player/Character separation.

This commit is contained in:
Griatch 2014-02-01 19:39:07 +01:00
parent 1352fecf75
commit 33bbf6274e
2 changed files with 21 additions and 13 deletions

View file

@ -62,6 +62,7 @@ class CmdLook(MuxCommand):
"""
caller = self.caller
args = self.args
if args:
# Use search to handle duplicate/nonexistant results.
looking_at_obj = caller.search(args, use_nicks=True)
@ -447,4 +448,4 @@ class CmdAccess(MuxCommand):
string += "\nCharacter {c%s{n: %s" % (caller.key, cperms)
if hasattr(caller, 'player'):
string += "\nPlayer {c%s{n: %s" % (caller.player.key, pperms)
caller.msg(string)
caller.msg(string)