private void cmd_creatureedit(final String arg, final Client client) {
		final Player player = getPlayer(client);

		Creature creature = null;
		boolean exist = false;

		// get a room
		if (arg.equals("new")) { // create new room if no room to edit specified
			creature = createCreature();

			// add new creature to database
			// objectDB.addAsNew(creature);
			// objectDB.addCreature(creature);

			exist = true;
		}
		else {
			final int dbref = Utils.toInt(arg, -1);

			if (dbref != -1) {
				creature = null; // get creature by dbref? (Integer)

				for (final Creature c : objectDB.getCreatures()) {
					if (c.getDBRef() == dbref) {
						creature = c;
						break;
					}
				}
			}
			else {
				creature = null; // get creature by name (String)

				for (final Creature c : objectDB.getCreatures()) {
					if (c.getName().equalsIgnoreCase(c.getName())) {
						creature = c;
						break;
					}
				}
			}

			if (creature != null) {
				exist = true;
			}
		}

		if (exist) {
			editCreature(player, creature);
		}
	}