From 33f1b41e7941c7f38ea85d7d8073346fc2950d55 Mon Sep 17 00:00:00 2001 From: delizin Date: Fri, 31 Jan 2014 22:01:48 -0500 Subject: [PATCH] Fixed multiword drop bug #442 --- src/commands/default/general.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/commands/default/general.py b/src/commands/default/general.py index e0911b59f3..b7863f1f5c 100644 --- a/src/commands/default/general.py +++ b/src/commands/default/general.py @@ -279,16 +279,12 @@ 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