Fix item durability.

Fixes #1181