1
0

Added checks for no downfall biomes

This commit is contained in:
Tiger Wang
2014-06-04 13:22:50 +01:00
parent 86e5273cd1
commit 01f38d8836
3 changed files with 3 additions and 3 deletions

View File

@@ -1034,7 +1034,7 @@ void cMonster::HandleDaylightBurning(cChunk & a_Chunk)
(a_Chunk.GetBlock(RelX, RelY, RelZ) != E_BLOCK_SOULSAND) && // Not on soulsand
(GetWorld()->GetTimeOfDay() < (12000 + 1000)) && // It is nighttime
!IsOnFire() && // Not already burning
(GetWorld()->IsWeatherWet()) // Not raining
(IsBiomeNoDownfall(a_Chunk.GetBiomeAt(RelX, RelZ)) || GetWorld()->IsWeatherWet()) // Not raining
)
{
// Burn for 100 ticks, then decide again