summaryrefslogtreecommitdiffstats
path: root/src/MobSpawner.cpp
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 07:13:52 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 07:13:52 +0100
commit865b56766526906200cab7027b852f4b03dd89d6 (patch)
tree22f85dfe4fc1af48a7845c18002914158ea997a8 /src/MobSpawner.cpp
parentadded spawning rule to mooshroom (diff)
downloadcuberite-865b56766526906200cab7027b852f4b03dd89d6.tar
cuberite-865b56766526906200cab7027b852f4b03dd89d6.tar.gz
cuberite-865b56766526906200cab7027b852f4b03dd89d6.tar.bz2
cuberite-865b56766526906200cab7027b852f4b03dd89d6.tar.lz
cuberite-865b56766526906200cab7027b852f4b03dd89d6.tar.xz
cuberite-865b56766526906200cab7027b852f4b03dd89d6.tar.zst
cuberite-865b56766526906200cab7027b852f4b03dd89d6.zip
Diffstat (limited to '')
-rw-r--r--src/MobSpawner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MobSpawner.cpp b/src/MobSpawner.cpp
index b8f64807e..6014cceb6 100644
--- a/src/MobSpawner.cpp
+++ b/src/MobSpawner.cpp
@@ -293,8 +293,8 @@ bool cMobSpawner::CanSpawnHere(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_R
(BlockAbove == E_BLOCK_AIR) &&
(!cBlockInfo::IsTransparent(BlockBelow)) &&
(
- a_Biome == biMushroomShore ||
- a_Biome == biMushroomIsland
+ (a_Biome == biMushroomShore) ||
+ (a_Biome == biMushroomIsland)
)
);
}