Don't crash when generating item drops.