summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBed.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-27 20:33:35 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-27 20:33:35 +0100
commit84913299f45a28d3bd6146b3decbf14764449030 (patch)
tree02707f55323bb35f4d0de65a376ba10e3a1fb5e4 /src/Blocks/BlockBed.h
parentFixed crash and some warnings in map handling. (diff)
downloadcuberite-84913299f45a28d3bd6146b3decbf14764449030.tar
cuberite-84913299f45a28d3bd6146b3decbf14764449030.tar.gz
cuberite-84913299f45a28d3bd6146b3decbf14764449030.tar.bz2
cuberite-84913299f45a28d3bd6146b3decbf14764449030.tar.lz
cuberite-84913299f45a28d3bd6146b3decbf14764449030.tar.xz
cuberite-84913299f45a28d3bd6146b3decbf14764449030.tar.zst
cuberite-84913299f45a28d3bd6146b3decbf14764449030.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockBed.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Blocks/BlockBed.h b/src/Blocks/BlockBed.h
index caec2b56f..6e8884114 100644
--- a/src/Blocks/BlockBed.h
+++ b/src/Blocks/BlockBed.h
@@ -4,6 +4,7 @@
#include "BlockHandler.h"
#include "ChunkInterface.h"
#include "WorldInterface.h"
+#include "MetaRotater.h"
#include "../Entities/Player.h"
@@ -11,11 +12,11 @@
class cBlockBedHandler :
- public cBlockHandler
+ public cMetaRotater<cBlockHandler,0x3,0x02,0x03,0x00,0x01>
{
public:
cBlockBedHandler(BLOCKTYPE a_BlockType)
- : cBlockHandler(a_BlockType)
+ : cMetaRotater<cBlockHandler,0x3,0x02,0x03,0x00,0x01>(a_BlockType)
{
}