diff options
Diffstat (limited to 'src/Mobs')
-rw-r--r-- | src/Mobs/Spider.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Spider.cpp b/src/Mobs/Spider.cpp index 15c8d5769..845bc145b 100644 --- a/src/Mobs/Spider.cpp +++ b/src/Mobs/Spider.cpp @@ -9,7 +9,8 @@ bool AggressiveAtNightFunction(cBehaviorAggressive & a_Behavior, cMonster & a_Monster) { - + return + !((Chunk->GetSkyLightAltered(Rel.x, Rel.y, Rel.z) > 11) || (Chunk->GetBlockLight(Rel.x, Rel.y, Rel.z) > 11)) } cSpider::cSpider(void) : |