Fix arrows preventing block placement

This commit is contained in:
ion232
2020-08-09 10:19:01 +00:00
committed by Alexander Harkness
parent 91002c8ac9
commit f65679d1d4
2 changed files with 12 additions and 0 deletions
+9
View File
@@ -195,3 +195,12 @@ void cArrowEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
}
}
}
bool cArrowEntity::DoesPreventBlockPlacement(void) const
{
return false;
}
+3
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