I am currently making a skript for a certain group of items randomly placed within a chest. I added some possible items I wanted in the list variable {items::*} and it doesn't seem to be working. (I checked to make sure my aliases were correct.
error: "can't be added to {items::*} because the former is not an object"
Code:
on load:
add diamond, iron ingot, gold ingot, apple, bottle o' experience, lapis, book, feather, flint, stick, arrow, red mushroom, brown mushroom, bowl, mushroom stew, bow, iron sword, stone sword, wooden sword, wooden axe, stone axe, golden axe, golden sword, iron axe, steak, cooked porkchop, rotten flesh, poisonous potato, string, apple, golden apple, bread, and cooked chicken to {items::*}
error: "can't be added to {items::*} because the former is not an object"