summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockButton.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-08 18:27:24 +0100
committerMattes D <github@xoft.cz>2014-03-08 18:27:24 +0100
commit3a6499b192b4d0cf28d960a5f9ac09ee44265d5c (patch)
tree3fabece6b0dbac4c229453c81f1a57bb248ef9b8 /src/Blocks/BlockButton.h
parentMerge pull request #770 from xdot/master (diff)
parentMoved returns (diff)
downloadcuberite-3a6499b192b4d0cf28d960a5f9ac09ee44265d5c.tar
cuberite-3a6499b192b4d0cf28d960a5f9ac09ee44265d5c.tar.gz
cuberite-3a6499b192b4d0cf28d960a5f9ac09ee44265d5c.tar.bz2
cuberite-3a6499b192b4d0cf28d960a5f9ac09ee44265d5c.tar.lz
cuberite-3a6499b192b4d0cf28d960a5f9ac09ee44265d5c.tar.xz
cuberite-3a6499b192b4d0cf28d960a5f9ac09ee44265d5c.tar.zst
cuberite-3a6499b192b4d0cf28d960a5f9ac09ee44265d5c.zip
Diffstat (limited to 'src/Blocks/BlockButton.h')
-rw-r--r--src/Blocks/BlockButton.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Blocks/BlockButton.h b/src/Blocks/BlockButton.h
index 2db9b7ec7..740cbe3c4 100644
--- a/src/Blocks/BlockButton.h
+++ b/src/Blocks/BlockButton.h
@@ -2,16 +2,17 @@
#include "BlockHandler.h"
#include "Chunk.h"
+#include "MetaRotater.h"
class cBlockButtonHandler :
- public cBlockHandler
+ public cMetaRotater<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>
{
public:
cBlockButtonHandler(BLOCKTYPE a_BlockType)
- : cBlockHandler(a_BlockType)
+ : cMetaRotater<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>(a_BlockType)
{
}