Fix for AIOOBE when spawning an item with no amount