Fix bug in handling MaxSpawnRange tag
Merge branch 'dev'