summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockButton.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 19:02:30 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 19:02:30 +0100
commitb5e33c5424c0b148a7076bb0f3019cfb0ef9c824 (patch)
treedabb3041abd9b8513570111310903992254d8063 /src/Blocks/BlockButton.h
parentFix IsThread destructor (diff)
parentFixed #778 - stack overflow.com (diff)
downloadcuberite-b5e33c5424c0b148a7076bb0f3019cfb0ef9c824.tar
cuberite-b5e33c5424c0b148a7076bb0f3019cfb0ef9c824.tar.gz
cuberite-b5e33c5424c0b148a7076bb0f3019cfb0ef9c824.tar.bz2
cuberite-b5e33c5424c0b148a7076bb0f3019cfb0ef9c824.tar.lz
cuberite-b5e33c5424c0b148a7076bb0f3019cfb0ef9c824.tar.xz
cuberite-b5e33c5424c0b148a7076bb0f3019cfb0ef9c824.tar.zst
cuberite-b5e33c5424c0b148a7076bb0f3019cfb0ef9c824.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)
{
}