diff --git a/src/commands/default/general.py b/src/commands/default/general.py index b7863f1f5c..e0911b59f3 100644 --- a/src/commands/default/general.py +++ b/src/commands/default/general.py @@ -279,12 +279,16 @@ class CmdDrop(MuxCommand): # Because the DROP command by definition looks for items # in inventory, call the search function using location = caller 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 # error messages if there are problems). obj = AT_SEARCH_RESULT(caller, self.args, results, False, nofound_string="You aren't carrying %s." % self.args, multimatch_string="You carry more than one %s:" % self.args) + + #obj = results + if not obj: return diff --git a/src/objects/objects.py b/src/objects/objects.py index 000318af00..f7350deef1 100644 --- a/src/objects/objects.py +++ b/src/objects/objects.py @@ -259,7 +259,7 @@ class Object(TypeClass): location=location, attribute_name=attribute_name, quiet=quiet, - exact=quiet) + exact=False) def execute_cmd(self, raw_string, sessid=None): """