public static List<Integer> matchingAction(RS2Environment env, String action) {
		List<Integer> matching = new ArrayList<Integer>();
		for(int id=0; id<env.getWorld().getMaxObjectId(); id++) {
			ObjectDefinition def = env.getWorld().getObjectDefinition(id);
			if(def != null && def.getActions() != null) {
				for(String act : def.getActions()) {
					if(act != null && act.equalsIgnoreCase(action)) {
						matching.add(def.getId());
					}
				}
			}
		}
		return matching;
	}