mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 23:36:30 +01:00
Merge pull request #2503 from CloudKeeper/patch-4
Wiki amendment: Appended caller to search method call
This commit is contained in:
commit
1794de8966
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ here's how you'd find something only in your inventory:
|
|||
|
||||
You can also turn off the automatic error handling:
|
||||
|
||||
swords = self.search("Sword", quiet=True)
|
||||
swords = self.caller.search("Sword", quiet=True)
|
||||
|
||||
With `quiet=True` the user will not be notified on zero or multi-match errors. Instead you are expected to handle this
|
||||
yourself and what you get back is now a list of zero, one or more matches!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue