fixed the ArrayList to ItemStack[] problem