small fix to CraftArmorState.cpp