Fixed an error with items without elemental damage