fixes #1376
Merge pull request #1378 from jodav/fixaddWeaponItems

fixes #1376