summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/MobSpawner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/MobSpawner.cpp b/source/MobSpawner.cpp
index 5bb021197..35eee4acc 100644
--- a/source/MobSpawner.cpp
+++ b/source/MobSpawner.cpp
@@ -149,9 +149,10 @@ 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:
+ case cMonster::mtSpider:
+ return false;
case cMonster::mtCreeper:
case cMonster::mtZombie:
- case cMonster::mtSpider:
return (a_BlockType == E_BLOCK_AIR) && (a_BlockType_above == E_BLOCK_AIR) && (!g_BlockTransparent[a_BlockType_below]) &&
(a_Skylight <= 7) && (a_Blocklight <= 7) && (m_Random.NextInt(2,a_Biome) == 0);