Fixed multiword drop bug #442
This commit is contained in:
parent
6e50d7e357
commit
33f1b41e79
1 changed files with 0 additions and 4 deletions
|
|
@ -279,16 +279,12 @@ class CmdDrop(MuxCommand):
|
||||||
# Because the DROP command by definition looks for items
|
# Because the DROP command by definition looks for items
|
||||||
# in inventory, call the search function using location = caller
|
# in inventory, call the search function using location = caller
|
||||||
results = caller.search(self.args, location=caller, quiet=True)
|
results = caller.search(self.args, location=caller, quiet=True)
|
||||||
caller.msg("Type: " + str(type(results)) + "\nResults: " + str(results))
|
|
||||||
|
|
||||||
# now we send it into the error handler (this will output consistent
|
# now we send it into the error handler (this will output consistent
|
||||||
# error messages if there are problems).
|
# error messages if there are problems).
|
||||||
obj = AT_SEARCH_RESULT(caller, self.args, results, False,
|
obj = AT_SEARCH_RESULT(caller, self.args, results, False,
|
||||||
nofound_string="You aren't carrying %s." % self.args,
|
nofound_string="You aren't carrying %s." % self.args,
|
||||||
multimatch_string="You carry more than one %s:" % self.args)
|
multimatch_string="You carry more than one %s:" % self.args)
|
||||||
|
|
||||||
#obj = results
|
|
||||||
|
|
||||||
if not obj:
|
if not obj:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue