summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLadder.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-15 22:42:00 +0200
committermadmaxoft <github@xoft.cz>2014-07-15 22:42:00 +0200
commit3f8ec7699f0205a0346c32df49e2faf509995850 (patch)
treeb61f06d0001d3fd3238f80b5a2304595bbb28c6e /src/Blocks/BlockLadder.h
parentRestructured cSplashPotionEntity code. (diff)
parentMerge pull request #1191 from Masy98/Blocks (diff)
downloadcuberite-3f8ec7699f0205a0346c32df49e2faf509995850.tar
cuberite-3f8ec7699f0205a0346c32df49e2faf509995850.tar.gz
cuberite-3f8ec7699f0205a0346c32df49e2faf509995850.tar.bz2
cuberite-3f8ec7699f0205a0346c32df49e2faf509995850.tar.lz
cuberite-3f8ec7699f0205a0346c32df49e2faf509995850.tar.xz
cuberite-3f8ec7699f0205a0346c32df49e2faf509995850.tar.zst
cuberite-3f8ec7699f0205a0346c32df49e2faf509995850.zip
Diffstat (limited to 'src/Blocks/BlockLadder.h')
-rw-r--r--src/Blocks/BlockLadder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Blocks/BlockLadder.h b/src/Blocks/BlockLadder.h
index 7efd8e444..120396c7d 100644
--- a/src/Blocks/BlockLadder.h
+++ b/src/Blocks/BlockLadder.h
@@ -3,17 +3,19 @@
#include "BlockHandler.h"
#include "../World.h"
+#include "ClearMetaOnDrop.h"
class cBlockLadderHandler :
- public cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04>
+ public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> >
{
+ typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> > super;
public:
cBlockLadderHandler(BLOCKTYPE a_BlockType)
- : cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04>(a_BlockType)
+ : super(a_BlockType)
{
}