Merge pull request #302 from SamJBarney/master
Broken rail blocks now stack.
This commit is contained in:
commit
4124ed3ef9
@ -22,6 +22,8 @@ enum ENUM_PURE
|
||||
class cBlockRailHandler :
|
||||
public cBlockHandler
|
||||
{
|
||||
typedef cBlockHandler super;
|
||||
|
||||
public:
|
||||
cBlockRailHandler(BLOCKTYPE a_BlockType)
|
||||
: cBlockHandler(a_BlockType)
|
||||
@ -51,6 +53,12 @@ public:
|
||||
}
|
||||
|
||||
|
||||
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
||||
{
|
||||
super::ConvertToPickups(a_Pickups, 0);
|
||||
}
|
||||
|
||||
|
||||
virtual bool CanBeAt(int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override
|
||||
{
|
||||
if (a_RelY <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user