summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockPiston.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-07 19:03:56 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-07 19:03:56 +0100
commit5bed85aba0720dc22db56dcaec28675c189491c4 (patch)
tree0b48aac460633e5d0410acf45f591c08ae51ce11 /src/Blocks/BlockPiston.h
parentChanged some FastSetBlocks to SetBlock (diff)
downloadcuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.gz
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.bz2
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.lz
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.xz
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.zst
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockPiston.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Blocks/BlockPiston.h b/src/Blocks/BlockPiston.h
index 109f5ea8b..36fa6a572 100644
--- a/src/Blocks/BlockPiston.h
+++ b/src/Blocks/BlockPiston.h
@@ -36,6 +36,12 @@ public:
cBlockPistonHeadHandler(void);
virtual void OnDestroyedByPlayer(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override;
+
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ {
+ // No pickups
+ // Also with 1.7, the item forms of these tecnical blocks have been removed, so giving someone this will crash their client...
+ }
} ;