* @param client
	 */
	private void cmd_drop(final String arg, final Client client) {
		// get player, room objects to work with
		final Player player = getPlayer(client);
		final Room room = getRoom( player.getLocation() );

		// split the arguments into a string array by space characters
		final String[] args = arg.split(" ");

		// tell us how many elements the array has (debug)
		debug("" + args.length);

		// get the object the argument refers to: by name (if it's in the
		// calling player's inventory), or by dbref#
		// should be done by searching the player's inventory for the object and
		// if there is such an object, drop it on the floor.

		if (arg.equals("")) {
			send("Syntax: drop <item>", client);
		}
		else if (arg.equalsIgnoreCase("all")) {
			room.addItems(player.getInventory());

			String itemName;

			for (final Item item1 : player.getInventory()) {
				itemName = item1.getName();

				debug(itemName + " true");

				// drop(player, room, item1);

				item1.setLocation(room.getDBRef());

				// check for silent flag to see if object's dbref name should be
				// shown as well?
				if (!player.hasFlag(ObjectFlag.SILENT)) {
					send("You dropped " + colors(itemName, "yellow") + " (#" + item1.getDBRef() + ") on the floor.", client);
				}
				else {
					send("You dropped " + colors(itemName, "yellow") + " on the floor.", client);
				}

				addMessage(new Message(player.getName() + " dropped " + colors(itemName, "yellow") + " on the floor.", room));
			}

			player.getInventory().clear();
		}
		else {
			Item item = null;

			// get the integer value, if there is one, as the argument
			final int dbref = Utils.toInt(arg, -1);

			// look for specified item in the player's inventory
			if (dbref != -1)  item = MudUtils.findItem(dbref, player.getInventory());
			if (item == null) item = MudUtils.findItem(arg, player.getInventory());

			if (item != null) {
				final String itemName = item.getName();

				drop(player, room, item);

				// check for silent flag to see if object's dbref name should be shown as well?
				if (!player.hasFlag(ObjectFlag.SILENT)) {
					send("You dropped " + colors(itemName, "yellow") + " (#" + item.getDBRef() + ") on the floor.", client);
				}
				else {
					send("You dropped " + colors(itemName, "yellow") + " on the floor.", client);
				}

				// return message telling others that the player dropped the item?
				// obviously we want the players in the current room that can see something
				addMessage(new Message(player.getName() + " dropped " + colors(itemName, "yellow") + " on the floor.", room));
			}
			else send("You don't have that.", client);
		}
	}