diff options
author | Masy98 <masy@antheruscraft.de> | 2014-12-20 10:31:34 +0100 |
---|---|---|
committer | Masy98 <masy@antheruscraft.de> | 2014-12-20 10:31:34 +0100 |
commit | 6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71 (patch) | |
tree | 0c7e7083444d2dc9c797c7a962fc05185c03eb1e /src/MobSpawner.cpp | |
parent | Merge pull request #1680 from Masy98/entities (diff) | |
download | cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.gz cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.bz2 cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.lz cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.xz cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.zst cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.zip |
Diffstat (limited to 'src/MobSpawner.cpp')
-rw-r--r-- | src/MobSpawner.cpp | 2 |
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 ( |