Updated commands to use the new objectdb.search API.
This commit is contained in:
parent
218e4a149c
commit
78e7346962
11 changed files with 97 additions and 84 deletions
|
|
@ -160,7 +160,6 @@ class PlayerManager(TypedObjectManager):
|
|||
|
||||
ostring = a string or database id.
|
||||
"""
|
||||
ostring = ostring.lstrip("*")
|
||||
dbref = self.dbref(ostring)
|
||||
if dbref or dbref == 0:
|
||||
matches = self.filter(id=dbref)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue