summaryrefslogtreecommitdiffstats
path: root/source/MobSpawner.cpp
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-10-25 20:15:10 +0200
committerSamuel Barney <samjbarney@gmail.com>2013-10-25 20:15:10 +0200
commit6f0d15b4485521ec1926e8c201c9b32309e89348 (patch)
treeae64a39bda40da71e68bda274d6a57a630ebae7d /source/MobSpawner.cpp
parentFixed mob spawning so that hostile mobs will not spawn incorrectly. (diff)
downloadcuberite-6f0d15b4485521ec1926e8c201c9b32309e89348.tar
cuberite-6f0d15b4485521ec1926e8c201c9b32309e89348.tar.gz
cuberite-6f0d15b4485521ec1926e8c201c9b32309e89348.tar.bz2
cuberite-6f0d15b4485521ec1926e8c201c9b32309e89348.tar.lz
cuberite-6f0d15b4485521ec1926e8c201c9b32309e89348.tar.xz
cuberite-6f0d15b4485521ec1926e8c201c9b32309e89348.tar.zst
cuberite-6f0d15b4485521ec1926e8c201c9b32309e89348.zip
Diffstat (limited to '')
-rw-r--r--source/MobSpawner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/MobSpawner.cpp b/source/MobSpawner.cpp
index 8bd005ac8..5bb021197 100644
--- a/source/MobSpawner.cpp
+++ b/source/MobSpawner.cpp
@@ -149,7 +149,6 @@ bool cMobSpawner::CanSpawnHere(cMonster::eType a_MobType, BLOCKTYPE a_BlockType,
((a_BlockType_below == E_BLOCK_GRASS) || (a_BlockType_below == E_BLOCK_LEAVES)) && (a_Level >= 62) && (m_Random.NextInt(3,a_Biome) != 0);
case cMonster::mtEnderman:
- return false;
case cMonster::mtCreeper:
case cMonster::mtZombie:
case cMonster::mtSpider: