From 6e8ec2fe340f8fc63f9394a4701aeace6e7e2701 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Sat, 22 Jul 2017 23:05:09 +0200 Subject: Creepers explode when burned by flint and steel (#3865) Fixed an issue where creepers didn't explode when they were burned with flint and steel --- src/Mobs/Creeper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3