* @param client
	 */
	private void cmd_edit(final String arg, final Client client) {
		final Player player = getPlayer(client);

		if (arg.equalsIgnoreCase("new")) {
			send("EDIT> This command only works with existing objects.", client);
			return;
		}

		final Integer dbref = Utils.toInt(arg, -1);

		MUDObject m = null;

		if (dbref != -1) {
			m = getObject(dbref);
		}
		else {
			m = getObject(arg);
		}

		if (m != null) {
			final TypeFlag type = m.getType();

			switch (type) {
			case CREATURE:
				editCreature(player, (Creature) m);
				break;
			case EXIT:
				break;
			case ITEM:
				break;
			case NPC:
				break;
			case ROOM:
				editRoom(player, (Room) m);
				break;
			case THING:
				break;
			default:
				break;
			}
		}
		else {
			send("No Such MUDObject", client);
		}
	}