diff --git a/src/Mobs/Creeper.cpp b/src/Mobs/Creeper.cpp index 0461bcc2a..04b7e23fe 100644 --- a/src/Mobs/Creeper.cpp +++ b/src/Mobs/Creeper.cpp @@ -32,6 +32,16 @@ void cCreeper::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) return; } + // stop walking when about to blow + if (m_bIsBlowing) + { + m_EMState = ATTACKING; + } + else if (m_EMState == ATTACKING) + { + m_EMState = IDLE; + } + if (((GetTarget() == nullptr) || !TargetIsInRange()) && !m_BurnedWithFlintAndSteel) { if (m_bIsBlowing)