1
0

Bats only spawn where there is no sunlight, and the light level is below 5

This commit is contained in:
Samuel Barney 2013-10-22 17:11:38 -06:00
parent d6d73a1754
commit 228ccc5c6a

View File

@ -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
{