summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockPiston.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-09 16:20:12 +0200
committermadmaxoft <github@xoft.cz>2013-08-09 16:20:12 +0200
commitf89d6cc9afdafe0092cf837084fffefe69e1b19a (patch)
tree2779c2e13b2c2bd6fca2e5b13474ad45eaf6a76b /source/Blocks/BlockPiston.h
parentFixed squid crashing the server when above or below the world (diff)
downloadcuberite-f89d6cc9afdafe0092cf837084fffefe69e1b19a.tar
cuberite-f89d6cc9afdafe0092cf837084fffefe69e1b19a.tar.gz
cuberite-f89d6cc9afdafe0092cf837084fffefe69e1b19a.tar.bz2
cuberite-f89d6cc9afdafe0092cf837084fffefe69e1b19a.tar.lz
cuberite-f89d6cc9afdafe0092cf837084fffefe69e1b19a.tar.xz
cuberite-f89d6cc9afdafe0092cf837084fffefe69e1b19a.tar.zst
cuberite-f89d6cc9afdafe0092cf837084fffefe69e1b19a.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockPiston.h15
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;
+} ;
+
+
+
+