Como faço pra setar 1 item em um Slot vazio ? Já Tentei Usar Este Código, só que enche o Invetario do player de botas
ItemStack bootNB = new ItemStack(Material.IRON_BOOTS);
bootNB.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
for(int i = 0 ; i < s.getSize() ; i++) {
ItemStack item = s.getItem(i);
if(item == null || item.getType() == Material.AIR){
s.setItem(i, bootNB);
}
// s = Inventory