summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/MobSpawner.cpp2
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
{