1
0

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
This commit is contained in:
Bond-009 2017-07-22 23:05:09 +02:00 committed by Tiger Wang
parent 64561175ab
commit 6e8ec2fe34

View File

@ -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)
{