diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-29 17:58:55 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-29 17:58:55 +0200 |
commit | 60a37c1370dc766c55a344090d8d26bc2e1c1c99 (patch) | |
tree | 953bf3edb21eed01e0e2da1e2375606e4c9db9eb /src/Mobs/Monster.cpp | |
parent | Cauldrons fill (diff) | |
download | cuberite-60a37c1370dc766c55a344090d8d26bc2e1c1c99.tar cuberite-60a37c1370dc766c55a344090d8d26bc2e1c1c99.tar.gz cuberite-60a37c1370dc766c55a344090d8d26bc2e1c1c99.tar.bz2 cuberite-60a37c1370dc766c55a344090d8d26bc2e1c1c99.tar.lz cuberite-60a37c1370dc766c55a344090d8d26bc2e1c1c99.tar.xz cuberite-60a37c1370dc766c55a344090d8d26bc2e1c1c99.tar.zst cuberite-60a37c1370dc766c55a344090d8d26bc2e1c1c99.zip |
Diffstat (limited to 'src/Mobs/Monster.cpp')
-rw-r--r-- | src/Mobs/Monster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index a9ca7a2fa..839d21314 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -1024,7 +1024,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()->GetWeather() != eWeather_Rain) // Not raining + (GetWorld()->IsWeatherWet()) // Not raining ) { // Burn for 100 ticks, then decide again |