Fixed setcraftitem import, fixed null reference if inventoryitem(0) was null.