mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge branch 'develop' of https://github.com/aMiss-aWry/evennia into aMiss-aWry-develop
This commit is contained in:
commit
58454c7109
2 changed files with 3 additions and 3 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):
|
||||
|
|
|
|||
|
|
@ -928,7 +928,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
try:
|
||||
self.announce_move_from(destination, **kwargs)
|
||||
except Exception as err:
|
||||
logerr(errtxt.format(err="at_announce_move()"), err)
|
||||
logerr(errtxt.format(err="announce_move_from()"), err)
|
||||
return False
|
||||
|
||||
# Perform move
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue