public static <T> ArrayList<Item> getInventorySubset(ArrayList<Item> inventory, ArrayList<Object> itemclass) {
		ArrayList<Item> temp = new ArrayList<Item>();
		for (int i = 0; i < inventory.size(); i++) {
			if (itemclass.contains(inventory.get(i).getClass())) {
				temp.add(inventory.get(i));
			}
		}
		return temp;
	}