Fixes a potential issue with lootspawners who have lootcounts longer than their loot list and lootdoubles not enabled.
Merge pull request #1973 from KazeEspada/lootfix

Lootspawner bug fix.