1
0
Fork 0

Fixed error message in cFinishGenPassiveMobs

It would send an error message when trying to spawn mobs in a desert
This commit is contained in:
STRWarrior 2014-12-07 12:00:36 +01:00
parent 263fabc816
commit 95c83abcdb
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ void cFinishGenPassiveMobs::GenFinish(cChunkDesc & a_ChunkDesc)
eMonsterType RandomMob = GetRandomMob(a_ChunkDesc);
if (RandomMob == mtInvalidType)
{
LOGWARNING("Attempted to spawn invalid mob type.");
// No mobs here. Don't send an error, because if the biome was a desert it would return mtInvalidType as well.
return;
}