# GetItemSubClassInfo is not in World of Warcraft Forever: write C_Item.GetItemSubClassInfo

Forever 1.60.1 (70959), Interface 16001. An addon that calls `GetItemSubClassInfo` stops at /reload with `attempt to call global 'GetItemSubClassInfo' (a nil value)`. Write `C_Item.GetItemSubClassInfo`; its arguments and returns may differ from the old GetItemSubClassInfo, read them first. Page: https://wowaddons.gg/forever-api/C_Item.md

```lua
subClassName, subClassUsesInvType = C_Item.GetItemSubClassInfo(itemClassID, itemSubClassID)
```

May return nothing.

Arguments:
- `itemClassID`: number
- `itemSubClassID`: number

Returns:
- `subClassName`: cstring
- `subClassUsesInvType`: bool

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
