mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Appended caller to search method call
Looked like a simple omission. Spotted by Jarenko.
This commit is contained in:
parent
5795ba1e91
commit
5515cb794f
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