diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-10-23 01:11:38 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-10-23 01:11:38 +0200 |
commit | 228ccc5c6aa4ac21f280ebd63af39909800e8a7f (patch) | |
tree | 57afa89ec838f5030fa07569a00a316682a094d8 /source | |
parent | Invalid light value is now 127 (diff) | |
download | cuberite-228ccc5c6aa4ac21f280ebd63af39909800e8a7f.tar cuberite-228ccc5c6aa4ac21f280ebd63af39909800e8a7f.tar.gz cuberite-228ccc5c6aa4ac21f280ebd63af39909800e8a7f.tar.bz2 cuberite-228ccc5c6aa4ac21f280ebd63af39909800e8a7f.tar.lz cuberite-228ccc5c6aa4ac21f280ebd63af39909800e8a7f.tar.xz cuberite-228ccc5c6aa4ac21f280ebd63af39909800e8a7f.tar.zst cuberite-228ccc5c6aa4ac21f280ebd63af39909800e8a7f.zip |
Diffstat (limited to '')
-rw-r--r-- | source/MobSpawner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/MobSpawner.cpp b/source/MobSpawner.cpp index 8f21e18f5..a69c56538 100644 --- a/source/MobSpawner.cpp +++ b/source/MobSpawner.cpp @@ -141,7 +141,7 @@ bool cMobSpawner::CanSpawnHere(cMonster::eType a_MobType, BLOCKTYPE a_BlockType, } else if (a_MobType == cMonster::mtBat) { - toReturn = a_Level <= 60; // MG TODO : find a real rule + toReturn = a_Level <= 63 && (a_Skylight == 0) && (a_Blocklight <= 4); // MG TODO : find a real rule } else { |