Stop crashing when pressing 1 when your inventory has no items in it.