It's reporting type `ItemStack` for `slot` which is an `EquipmentSlot`. If you move the cursor to the `stack` param, the type is missing entirely. It seems like the index is just off by one? 