correct damage bound checks
spawn items with a valid damage value
Merge pull request #5273 from BevapDin/fix-damaged-name-display

Fix items spawned with too much damage