summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2017-07-22 23:05:09 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2017-07-22 23:05:09 +0200
commit6e8ec2fe340f8fc63f9394a4701aeace6e7e2701 (patch)
treeb4cc5d69e6575f2e5b825114961d09a8b732cbcc /src
parentBlockArea: Added the GetBounds function. (diff)
downloadcuberite-6e8ec2fe340f8fc63f9394a4701aeace6e7e2701.tar
cuberite-6e8ec2fe340f8fc63f9394a4701aeace6e7e2701.tar.gz
cuberite-6e8ec2fe340f8fc63f9394a4701aeace6e7e2701.tar.bz2
cuberite-6e8ec2fe340f8fc63f9394a4701aeace6e7e2701.tar.lz
cuberite-6e8ec2fe340f8fc63f9394a4701aeace6e7e2701.tar.xz
cuberite-6e8ec2fe340f8fc63f9394a4701aeace6e7e2701.tar.zst
cuberite-6e8ec2fe340f8fc63f9394a4701aeace6e7e2701.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Creeper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Creeper.cpp b/src/Mobs/Creeper.cpp
index fc31422f1..da4270af9 100644
--- a/src/Mobs/Creeper.cpp
+++ b/src/Mobs/Creeper.cpp
@@ -32,7 +32,7 @@ void cCreeper::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
return;
}
- if ((GetTarget() == nullptr) || (!TargetIsInRange() && !m_BurnedWithFlintAndSteel))
+ if (((GetTarget() == nullptr) || !TargetIsInRange()) && !m_BurnedWithFlintAndSteel)
{
if (m_bIsBlowing)
{