mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update objects.py
This commit is contained in:
parent
a5201551d4
commit
d6983e4be3
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
return [
|
||||
obj
|
||||
for obj in obj_list
|
||||
if (obj.access(looker, "view") and obj.access(looker, "search", default=True))
|
||||
if obj != looker and (obj.access(looker, "view") and obj.access(looker, "search", default=True))
|
||||
]
|
||||
|
||||
# name and return_appearance hooks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue