From 3d0b91eda893512ec1af1cf7b0d3af4d4dd210a6 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sat, 2 Sep 2017 19:38:14 +0300 Subject: d --- src/Mobs/Spider.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Mobs') 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) : -- cgit v1.2.3