Fix arrows preventing block placement
This commit is contained in:
parent
91002c8ac9
commit
f65679d1d4
@ -195,3 +195,12 @@ void cArrowEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
bool cArrowEntity::DoesPreventBlockPlacement(void) const
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
@ -104,4 +104,7 @@ protected:
|
|||||||
virtual void CollectedBy(cPlayer & a_Player) override;
|
virtual void CollectedBy(cPlayer & a_Player) override;
|
||||||
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
|
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
|
||||||
|
|
||||||
|
// cEntity overrides:
|
||||||
|
virtual bool DoesPreventBlockPlacement(void) const override;
|
||||||
|
|
||||||
}; // tolua_export
|
}; // tolua_export
|
||||||
|
Loading…
Reference in New Issue
Block a user