summaryrefslogtreecommitdiffstats
path: root/src/MobSpawner.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-21 15:18:42 +0100
committerMattes D <github@xoft.cz>2014-12-21 15:18:42 +0100
commitd4c9daddb89cc8066f3fe36939447acbcf6c7400 (patch)
treeaf1a179ba5ac87c652b6e271c99628dee1ceb920 /src/MobSpawner.cpp
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
parentFixed damn empty line with no use (diff)
downloadcuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.gz
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.bz2
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.lz
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.xz
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.zst
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.zip
Diffstat (limited to 'src/MobSpawner.cpp')
-rw-r--r--src/MobSpawner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MobSpawner.cpp b/src/MobSpawner.cpp
index bd34d8fcd..0a32d17ef 100644
--- a/src/MobSpawner.cpp
+++ b/src/MobSpawner.cpp
@@ -92,6 +92,7 @@ eMonsterType cMobSpawner::ChooseMobType(EMCSBiome a_Biome)
addIfAllowed(mtCow, allowedMobs);
addIfAllowed(mtChicken, allowedMobs);
addIfAllowed(mtEnderman, allowedMobs);
+ addIfAllowed(mtRabbit, allowedMobs);
addIfAllowed(mtSlime, allowedMobs); // MG TODO : much more complicated rule
if ((a_Biome == biForest) || (a_Biome == biForestHills) || (a_Biome == biTaiga) || (a_Biome == biTaigaHills))
@@ -164,6 +165,7 @@ bool cMobSpawner::CanSpawnHere(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_R
case mtCow:
case mtPig:
case mtHorse:
+ case mtRabbit:
case mtSheep:
{
return (