mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
Fix for bug #2643: NAttributes on examine.
Non-Persistent Attributes now shown in examine.
This commit is contained in:
parent
bd3e31bf3c
commit
64b9f9e508
1 changed files with 2 additions and 2 deletions
|
|
@ -2716,13 +2716,13 @@ class CmdExamine(ObjManipCommand):
|
|||
|
||||
def format_nattributes(self, obj):
|
||||
try:
|
||||
ndb_attr = obj.nattributes.all(return_tuples=True)
|
||||
ndb_attr = obj.nattributes.all()
|
||||
except Exception:
|
||||
return
|
||||
|
||||
if ndb_attr and ndb_attr[0]:
|
||||
return "\n " + " \n".join(
|
||||
sorted(self.format_single_attribute(attr) for attr, value in ndb_attr)
|
||||
sorted(self.format_single_attribute(attr) for attr in ndb_attr)
|
||||
)
|
||||
|
||||
def format_exits(self, obj):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue