summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 20:10:20 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 20:10:20 +0100
commit14bc241ec1e485421cf960db7f3b7c39237d9742 (patch)
tree87d171a08eb644a520c9133885b1677acd0b6209
parentextra formatting parentheses (diff)
downloadcuberite-14bc241ec1e485421cf960db7f3b7c39237d9742.tar
cuberite-14bc241ec1e485421cf960db7f3b7c39237d9742.tar.gz
cuberite-14bc241ec1e485421cf960db7f3b7c39237d9742.tar.bz2
cuberite-14bc241ec1e485421cf960db7f3b7c39237d9742.tar.lz
cuberite-14bc241ec1e485421cf960db7f3b7c39237d9742.tar.xz
cuberite-14bc241ec1e485421cf960db7f3b7c39237d9742.tar.zst
cuberite-14bc241ec1e485421cf960db7f3b7c39237d9742.zip
-rw-r--r--src/MobSpawner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MobSpawner.cpp b/src/MobSpawner.cpp
index 6014cceb6..e477e2dac 100644
--- a/src/MobSpawner.cpp
+++ b/src/MobSpawner.cpp
@@ -291,7 +291,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) &&
- (!cBlockInfo::IsTransparent(BlockBelow)) &&
+ (BlockBelow == E_BLOCK_MYCELIUM) &&
(
(a_Biome == biMushroomShore) ||
(a_Biome == biMushroomIsland)