summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockPiston.h
diff options
context:
space:
mode:
authorbibo38 <bibo38@github.com>2015-03-20 11:14:42 +0100
committerbibo38 <bibo38@github.com>2015-03-20 11:14:42 +0100
commit3058c4c010534b6e410b3384c49a20935a9b06e3 (patch)
treee934e46036c42e31a49d7f4967518e177833e9e7 /src/Blocks/BlockPiston.h
parentAPIDump: Removed the tolua.cast() example. (diff)
downloadcuberite-3058c4c010534b6e410b3384c49a20935a9b06e3.tar
cuberite-3058c4c010534b6e410b3384c49a20935a9b06e3.tar.gz
cuberite-3058c4c010534b6e410b3384c49a20935a9b06e3.tar.bz2
cuberite-3058c4c010534b6e410b3384c49a20935a9b06e3.tar.lz
cuberite-3058c4c010534b6e410b3384c49a20935a9b06e3.tar.xz
cuberite-3058c4c010534b6e410b3384c49a20935a9b06e3.tar.zst
cuberite-3058c4c010534b6e410b3384c49a20935a9b06e3.zip
Diffstat (limited to 'src/Blocks/BlockPiston.h')
-rw-r--r--src/Blocks/BlockPiston.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Blocks/BlockPiston.h b/src/Blocks/BlockPiston.h
index f868f4d8e..9a891025a 100644
--- a/src/Blocks/BlockPiston.h
+++ b/src/Blocks/BlockPiston.h
@@ -15,6 +15,8 @@ public:
virtual void OnDestroyed(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ) override;
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override;
+
virtual bool GetPlacementBlockTypeMeta(
cChunkInterface & a_ChunkInterface, cPlayer * a_Player,
int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace,