summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-10-31 13:58:02 +0100
committerMattes D <github@xoft.cz>2013-10-31 13:58:02 +0100
commit4124ed3ef99ceda4add3db2a10398b4ddd470179 (patch)
treeaebe1633f0aa17983bb110ba33674387674e66aa
parentProtocol 1.7: Added status ping handling. (diff)
parentAdhering to project standards. (diff)
downloadcuberite-4124ed3ef99ceda4add3db2a10398b4ddd470179.tar
cuberite-4124ed3ef99ceda4add3db2a10398b4ddd470179.tar.gz
cuberite-4124ed3ef99ceda4add3db2a10398b4ddd470179.tar.bz2
cuberite-4124ed3ef99ceda4add3db2a10398b4ddd470179.tar.lz
cuberite-4124ed3ef99ceda4add3db2a10398b4ddd470179.tar.xz
cuberite-4124ed3ef99ceda4add3db2a10398b4ddd470179.tar.zst
cuberite-4124ed3ef99ceda4add3db2a10398b4ddd470179.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockRail.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/Blocks/BlockRail.h b/source/Blocks/BlockRail.h
index 0e83b952d..24a101652 100644
--- a/source/Blocks/BlockRail.h
+++ b/source/Blocks/BlockRail.h
@@ -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)