diff options
Diffstat (limited to 'src/Mobs/Spider.cpp')
-rw-r--r-- | src/Mobs/Spider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Spider.cpp b/src/Mobs/Spider.cpp index 329d89e93..319610fa4 100644 --- a/src/Mobs/Spider.cpp +++ b/src/Mobs/Spider.cpp @@ -50,7 +50,7 @@ void cSpider::EventSeePlayer(cPlayer * a_Player, cChunk & a_Chunk) if ( a_Player->CanMobsTarget() && - !((Chunk->GetSkyLightAltered(Rel.x, Rel.y, Rel.z) > 11) || (Chunk->GetBlockLight(Rel.x, Rel.y, Rel.z) > 11)) + !(Chunk->GetLightAltered(Rel) > 11) ) { super::EventSeePlayer(a_Player, a_Chunk); |