mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02:00
Minor typo cleanups.
This commit is contained in:
parent
21137cc830
commit
160d4a2807
1 changed files with 1 additions and 2 deletions
|
|
@ -221,7 +221,7 @@ class ObjectManager(TypedObjectManager):
|
|||
|
||||
Arguments:
|
||||
ostring: (string) The string to compare names against.
|
||||
Can be a dbref. If name is appended by *, a player is searched for.
|
||||
Can be a dbref. If name is prepended by *, a player is searched for.
|
||||
caller: (Object) The optional object performing the search.
|
||||
attribute_name: (string) Which object attribute to match ostring against. If not
|
||||
set, the "key" and "aliases" properties are searched in order.
|
||||
|
|
@ -241,7 +241,6 @@ class ObjectManager(TypedObjectManager):
|
|||
"""
|
||||
def _searcher(ostring, exact=False):
|
||||
"Helper method for searching objects"
|
||||
# Handle player
|
||||
if ostring.startswith("*"):
|
||||
# Player search - try to find obj by its player's name
|
||||
player_match = self.get_object_with_player(ostring, candidates=candidates)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue