Fix for addArmorMaterial