mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 10:37:16 +01:00
Fixed bugs in alias and search system, including properly searching inventory. Expanded @alias command with more functionality.
This commit is contained in:
parent
50e66b3813
commit
8aa22fbec8
3 changed files with 39 additions and 22 deletions
|
|
@ -587,7 +587,7 @@ class TypedObject(SharedMemoryModel):
|
|||
TYPECLASS_CACHE[path] = typeclass
|
||||
return typeclass
|
||||
#@typeclass.deleter
|
||||
def typeclass_del(self, value):
|
||||
def typeclass_del(self):
|
||||
"Deleter. Allows for del self.typeclass (don't allow deletion)"
|
||||
raise Exception("The typeclass property should never be deleted!")
|
||||
typeclass = property(typeclass_get, fdel=typeclass_del)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue