diff options
author | Bond-009 <bond.009@outlook.com> | 2017-07-22 23:05:09 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2017-07-22 23:05:09 +0200 |
commit | 6e8ec2fe340f8fc63f9394a4701aeace6e7e2701 (patch) | |
tree | b4cc5d69e6575f2e5b825114961d09a8b732cbcc /src/Mobs | |
parent | BlockArea: Added the GetBounds function. (diff) | |
download | cuberite-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 'src/Mobs')
-rw-r--r-- | src/Mobs/Creeper.cpp | 2 |
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) { |