diff options
author | madmaxoft <github@xoft.cz> | 2013-08-09 16:20:12 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-10 08:22:53 +0200 |
commit | d3c29c5a885a323dc0af5ccbee6af72a9b6de022 (patch) | |
tree | 32946af8cf1abc6a7466fca9e9d0d8e44226b459 /source/Blocks/BlockPiston.h | |
parent | Fixed squid crashing the server when above or below the world (diff) | |
download | cuberite-d3c29c5a885a323dc0af5ccbee6af72a9b6de022.tar cuberite-d3c29c5a885a323dc0af5ccbee6af72a9b6de022.tar.gz cuberite-d3c29c5a885a323dc0af5ccbee6af72a9b6de022.tar.bz2 cuberite-d3c29c5a885a323dc0af5ccbee6af72a9b6de022.tar.lz cuberite-d3c29c5a885a323dc0af5ccbee6af72a9b6de022.tar.xz cuberite-d3c29c5a885a323dc0af5ccbee6af72a9b6de022.tar.zst cuberite-d3c29c5a885a323dc0af5ccbee6af72a9b6de022.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Blocks/BlockPiston.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/Blocks/BlockPiston.h b/source/Blocks/BlockPiston.h index ef6a4fa97..109f5ea8b 100644 --- a/source/Blocks/BlockPiston.h +++ b/source/Blocks/BlockPiston.h @@ -26,3 +26,18 @@ public: + +class cBlockPistonHeadHandler : + public cBlockHandler +{ + typedef cBlockHandler super; + +public: + cBlockPistonHeadHandler(void); + + virtual void OnDestroyedByPlayer(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override; +} ; + + + + |