mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 04:57:16 +02:00
First version where test suite validates. Caching is still not fully active (especially attribute lookup), OOBhandler is untested.
This commit is contained in:
parent
8b1afa7043
commit
272a6ddc2d
3 changed files with 7 additions and 9 deletions
|
|
@ -766,7 +766,6 @@ class TypedObject(SharedMemoryModel):
|
|||
#
|
||||
#
|
||||
|
||||
# these are identifiers for fast Attribute access and caching
|
||||
_typeclass_paths = settings.OBJECT_TYPECLASS_PATHS
|
||||
|
||||
def __eq__(self, other):
|
||||
|
|
@ -1001,7 +1000,7 @@ class TypedObject(SharedMemoryModel):
|
|||
logger.log_trace()
|
||||
return typeclass
|
||||
|
||||
def is_typeclass(self, typeclass, exact=False):
|
||||
def is_typeclass(self, typeclass, exact=True):
|
||||
"""
|
||||
Returns true if this object has this type
|
||||
OR has a typeclass which is an subclass of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue