Fixed possible crash
It could crash if MinAmount - MaxAmount was 0 because it would execute (Number % 0)
Merge pull request #1537 from mc-server/GenerationCrash

Fixed possible crash
BioGen: Fixed a compiler warning.
Merge branch 'master' into DungeonLoot

Conflicts:
	src/ItemGrid.cpp