summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLadder.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-15 14:44:18 +0200
committermadmaxoft <github@xoft.cz>2014-07-15 14:44:18 +0200
commit639dfdb67db01248579910955061f5ca8ce49be8 (patch)
treef2a7636189fac9695620c13cd1bf67a10ead969b /src/Blocks/BlockLadder.h
parentMerge pull request #1188 from mc-server/FindClosestPlayerFix (diff)
parentAdded super typedef (diff)
downloadcuberite-639dfdb67db01248579910955061f5ca8ce49be8.tar
cuberite-639dfdb67db01248579910955061f5ca8ce49be8.tar.gz
cuberite-639dfdb67db01248579910955061f5ca8ce49be8.tar.bz2
cuberite-639dfdb67db01248579910955061f5ca8ce49be8.tar.lz
cuberite-639dfdb67db01248579910955061f5ca8ce49be8.tar.xz
cuberite-639dfdb67db01248579910955061f5ca8ce49be8.tar.zst
cuberite-639dfdb67db01248579910955061f5ca8ce49be8.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)
{
}