mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Made unittest suite finish without errors using new proxy system.
This commit is contained in:
parent
71b6600d87
commit
2782e03478
9 changed files with 73 additions and 60 deletions
|
|
@ -183,11 +183,11 @@ class MuxPlayerCommand(MuxCommand):
|
|||
"""
|
||||
super(MuxPlayerCommand, self).parse()
|
||||
|
||||
if utils.inherits_from(self.caller, "src.objects.objects.Object"):
|
||||
if utils.inherits_from(self.caller, "src.objects.objects.DefaultObject"):
|
||||
# caller is an Object/Character
|
||||
self.character = self.caller
|
||||
self.caller = self.caller.player
|
||||
elif utils.inherits_from(self.caller, "src.players.players.Player"):
|
||||
elif utils.inherits_from(self.caller, "src.players.players.DefaultPlayer"):
|
||||
# caller was already a Player
|
||||
self.character = self.caller.get_puppet(self.sessid)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue