mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02: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:
|
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
|
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!
|
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