summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockChest.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/BlockChest.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/BlockChest.h')
-rw-r--r--src/Blocks/BlockChest.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Blocks/BlockChest.h b/src/Blocks/BlockChest.h
index 02ecc4346..30588d8fc 100644
--- a/src/Blocks/BlockChest.h
+++ b/src/Blocks/BlockChest.h
@@ -4,17 +4,18 @@
#include "BlockEntity.h"
#include "../BlockArea.h"
#include "../Entities/Player.h"
+#include "MetaRotater.h"
class cBlockChestHandler :
- public cBlockEntityHandler
+ public cMetaRotater<cBlockEntityHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>
{
public:
cBlockChestHandler(BLOCKTYPE a_BlockType)
- : cBlockEntityHandler(a_BlockType)
+ : cMetaRotater<cBlockEntityHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>(a_BlockType)
{
}