Fixed error message in cFinishGenPassiveMobs
It would send an error message when trying to spawn mobs in a desert
This commit is contained in:
parent
263fabc816
commit
95c83abcdb
@ -1014,7 +1014,7 @@ void cFinishGenPassiveMobs::GenFinish(cChunkDesc & a_ChunkDesc)
|
|||||||
eMonsterType RandomMob = GetRandomMob(a_ChunkDesc);
|
eMonsterType RandomMob = GetRandomMob(a_ChunkDesc);
|
||||||
if (RandomMob == mtInvalidType)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user