From 6c30ce93dae4c14dc84385578e0857d46e7484f4 Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Sat, 26 Oct 2013 03:51:56 -0600 Subject: [PATCH] Disabling Endermen and spiders until I rework the CanSpawnHere to take a chunk and a position. --- source/MobSpawner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);