summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockChest.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/BlockChest.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/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)
{
}