diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-03-16 14:01:22 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-16 21:38:57 +0100 |
commit | b9fce71bf68768ee86ce128f353fea5533f50732 (patch) | |
tree | ce0d3f88151971baa3adb5433aa15e072a5d02e3 /src/MobSpawner.cpp | |
parent | Fixed InfoReg.lua's handling of multi-level commands. (diff) | |
download | cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.gz cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.bz2 cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.lz cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.xz cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.zst cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.zip |
Diffstat (limited to 'src/MobSpawner.cpp')
-rw-r--r-- | src/MobSpawner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MobSpawner.cpp b/src/MobSpawner.cpp index 7704f6cf3..a0d0f5c54 100644 --- a/src/MobSpawner.cpp +++ b/src/MobSpawner.cpp @@ -169,7 +169,7 @@ bool cMobSpawner::CanSpawnHere(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_R (TargetBlock == E_BLOCK_AIR) && (BlockAbove == E_BLOCK_AIR) && ( - (BlockBelow == E_BLOCK_GRASS) || (BlockBelow == E_BLOCK_LEAVES) + (BlockBelow == E_BLOCK_GRASS) || (BlockBelow == E_BLOCK_LEAVES) || (BlockBelow == E_BLOCK_NEW_LEAVES) ) && (a_RelY >= 62) && (m_Random.NextInt(3, a_Biome) != 0) |