summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-12-07 12:00:36 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-12-07 12:00:36 +0100
commit95c83abcdb11d285ef409a6ed8900985927e9de0 (patch)
tree768dd2b65fe45f2fbc7ceef8e1063d0fe64b6acf /src/Generating/FinishGen.cpp
parentReplaced most auto_ptr with unique_ptr. (diff)
downloadcuberite-95c83abcdb11d285ef409a6ed8900985927e9de0.tar
cuberite-95c83abcdb11d285ef409a6ed8900985927e9de0.tar.gz
cuberite-95c83abcdb11d285ef409a6ed8900985927e9de0.tar.bz2
cuberite-95c83abcdb11d285ef409a6ed8900985927e9de0.tar.lz
cuberite-95c83abcdb11d285ef409a6ed8900985927e9de0.tar.xz
cuberite-95c83abcdb11d285ef409a6ed8900985927e9de0.tar.zst
cuberite-95c83abcdb11d285ef409a6ed8900985927e9de0.zip
Diffstat (limited to 'src/Generating/FinishGen.cpp')
-rw-r--r--src/Generating/FinishGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp
index e6732dbd5..e10cb00f8 100644
--- a/src/Generating/FinishGen.cpp
+++ b/src/Generating/FinishGen.cpp
@@ -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;
}