use item.equals(armor) instead of ==