mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Removing some more .typeclass properties.
This commit is contained in:
parent
a93d318121
commit
c6c91c7a0b
4 changed files with 19 additions and 114 deletions
|
|
@ -121,8 +121,7 @@ class Msg(SharedMemoryModel):
|
|||
#@property
|
||||
def __senders_get(self):
|
||||
"Getter. Allows for value = self.sender"
|
||||
return [hasattr(o, "typeclass") and o.typeclass or o for o in
|
||||
list(self.db_sender_players.all()) +
|
||||
return list(self.db_sender_players.all()) +
|
||||
list(self.db_sender_objects.all()) +
|
||||
self.extra_senders]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue