1
0

Fix arrows preventing block placement

This commit is contained in:
ion232 2020-08-08 22:41:42 +01:00 committed by Alexander Harkness
parent 91002c8ac9
commit f65679d1d4
2 changed files with 12 additions and 0 deletions

View File

@ -195,3 +195,12 @@ void cArrowEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
}
}
}
bool cArrowEntity::DoesPreventBlockPlacement(void) const
{
return false;
}

View File

@ -104,4 +104,7 @@ protected:
virtual void CollectedBy(cPlayer & a_Player) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
// cEntity overrides:
virtual bool DoesPreventBlockPlacement(void) const override;
}; // tolua_export