diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-21 21:42:10 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-21 21:42:29 +0200 |
commit | 1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3 (patch) | |
tree | f802a5eaf85f82770253574aedff7998e34775e5 /src/Mobs | |
parent | Implemented PR suggestions (diff) | |
download | cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.gz cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.bz2 cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.lz cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.xz cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.zst cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.zip |
Diffstat (limited to '')
-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 0f030da2d..89329dace 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -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 - (IsBiomeNoDownfall(a_Chunk.GetBiomeAt(RelX, RelZ)) || !GetWorld()->IsWeatherWet()) // Not raining + GetWorld()->IsWeatherWetAt(POSX_TOINT, POSZ_TOINT) // Not raining ) { // Burn for 100 ticks, then decide again |