diff options
author | Mattes D <github@xoft.cz> | 2013-11-05 22:24:23 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-11-05 22:24:23 +0100 |
commit | 12eeb3f6c88f54b77363923fcff2bd4ce53ff07f (patch) | |
tree | 3ed83d1132a2b1a8b6f9e36a7d6f3a527d258992 /source/MobSpawner.cpp | |
parent | Clarified cBlockHandler::ConvertToPickups() dox. (diff) | |
parent | Implemented suggestions (diff) | |
download | cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.gz cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.bz2 cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.lz cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.xz cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.zst cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.zip |
Diffstat (limited to 'source/MobSpawner.cpp')
-rw-r--r-- | source/MobSpawner.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/MobSpawner.cpp b/source/MobSpawner.cpp index d4926bbe5..dd9419ba4 100644 --- a/source/MobSpawner.cpp +++ b/source/MobSpawner.cpp @@ -71,10 +71,10 @@ cMonster::eType cMobSpawner::ChooseMobType(EMCSBiome a_Biome) addIfAllowed(cMonster::mtZombiePigman, allowedMobs); addIfAllowed(cMonster::mtMagmaCube, allowedMobs); } - /*else if (a_Biome == biEnder) MG TODO : figure out what are the biomes of the ender + else if (a_Biome == biEnd) { addIfAllowed(cMonster::mtEnderman, allowedMobs); - }*/ + } else { addIfAllowed(cMonster::mtBat, allowedMobs); @@ -210,7 +210,7 @@ bool cMobSpawner::CanSpawnHere(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_R return (TargetBlock == E_BLOCK_AIR) && (BlockAbove == E_BLOCK_AIR) && (!g_BlockTransparent[BlockBelow]) && (m_Random.NextInt(20,a_Biome) == 0); default: - LOGD("MG TODO : check I've got a Rule to write for type %d",a_MobType); + LOGD("MG TODO: Write spawning rule for mob type %d", a_MobType); return false; } } |