diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-11-07 21:57:32 +0100 |
---|---|---|
committer | Gargaj <gargaj@conspiracy.hu> | 2015-11-07 21:57:32 +0100 |
commit | 429c896e33f5f5d3006d181e3f573046d184f520 (patch) | |
tree | fd5c9ebfb65acd7da14ee09bd49ee6b9664caed1 /src/Mobs/Creeper.cpp | |
parent | Merge pull request #2609 from bibo38/slimeblock (diff) | |
download | cuberite-429c896e33f5f5d3006d181e3f573046d184f520.tar cuberite-429c896e33f5f5d3006d181e3f573046d184f520.tar.gz cuberite-429c896e33f5f5d3006d181e3f573046d184f520.tar.bz2 cuberite-429c896e33f5f5d3006d181e3f573046d184f520.tar.lz cuberite-429c896e33f5f5d3006d181e3f573046d184f520.tar.xz cuberite-429c896e33f5f5d3006d181e3f573046d184f520.tar.zst cuberite-429c896e33f5f5d3006d181e3f573046d184f520.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Creeper.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Mobs/Creeper.cpp b/src/Mobs/Creeper.cpp index 30bd41f13..353d0f009 100644 --- a/src/Mobs/Creeper.cpp +++ b/src/Mobs/Creeper.cpp @@ -29,9 +29,12 @@ void cCreeper::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) if (!TargetIsInRange() && !m_BurnedWithFlintAndSteel) { - m_ExplodingTimer = 0; - m_bIsBlowing = false; - m_World->BroadcastEntityMetadata(*this); + if (m_bIsBlowing) + { + m_ExplodingTimer = 0; + m_bIsBlowing = false; + m_World->BroadcastEntityMetadata(*this); + } } else { |