diff options
author | Mattes D <github@xoft.cz> | 2015-03-20 12:13:21 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-03-20 12:13:21 +0100 |
commit | 967ece168499c0efcdcfd6c25a7cd87099d55be8 (patch) | |
tree | fd4b7f4ee896ea905309972a4f760012beb95f49 /src/Blocks/BlockPiston.h | |
parent | Updated Core. (diff) | |
parent | Removed Metavalue from Piston drops. Bugfix #1765 (diff) | |
download | cuberite-967ece168499c0efcdcfd6c25a7cd87099d55be8.tar cuberite-967ece168499c0efcdcfd6c25a7cd87099d55be8.tar.gz cuberite-967ece168499c0efcdcfd6c25a7cd87099d55be8.tar.bz2 cuberite-967ece168499c0efcdcfd6c25a7cd87099d55be8.tar.lz cuberite-967ece168499c0efcdcfd6c25a7cd87099d55be8.tar.xz cuberite-967ece168499c0efcdcfd6c25a7cd87099d55be8.tar.zst cuberite-967ece168499c0efcdcfd6c25a7cd87099d55be8.zip |
Diffstat (limited to 'src/Blocks/BlockPiston.h')
-rw-r--r-- | src/Blocks/BlockPiston.h | 2 |
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, |