diff options
author | madmaxoft <github@xoft.cz> | 2014-07-15 14:54:24 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-15 14:54:24 +0200 |
commit | 9a970479efaef781ea8f69e3d8b8a1e2aa367847 (patch) | |
tree | 880fb567ada15ad406b02e8f7e1b5c941619b0fb /src | |
parent | Merge remote-tracking branch 'origin/ClearMetaMixin' (diff) | |
download | cuberite-9a970479efaef781ea8f69e3d8b8a1e2aa367847.tar cuberite-9a970479efaef781ea8f69e3d8b8a1e2aa367847.tar.gz cuberite-9a970479efaef781ea8f69e3d8b8a1e2aa367847.tar.bz2 cuberite-9a970479efaef781ea8f69e3d8b8a1e2aa367847.tar.lz cuberite-9a970479efaef781ea8f69e3d8b8a1e2aa367847.tar.xz cuberite-9a970479efaef781ea8f69e3d8b8a1e2aa367847.tar.zst cuberite-9a970479efaef781ea8f69e3d8b8a1e2aa367847.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockLilypad.h | 7 | ||||
-rw-r--r-- | src/Blocks/BlockPumpkin.h | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/src/Blocks/BlockLilypad.h b/src/Blocks/BlockLilypad.h index 1320174fc..53277caa5 100644 --- a/src/Blocks/BlockLilypad.h +++ b/src/Blocks/BlockLilypad.h @@ -10,10 +10,11 @@ class cBlockLilypadHandler : public cClearMetaOnDrop<cBlockHandler> { -typedef cClearMetaOnDrop<cBlockHandler> super; + typedef cClearMetaOnDrop<cBlockHandler> super; public: - cBlockLilypadHandler(BLOCKTYPE a_BlockType) - : super(a_BlockType) + + cBlockLilypadHandler(BLOCKTYPE a_BlockType) : + super(a_BlockType) { } }; diff --git a/src/Blocks/BlockPumpkin.h b/src/Blocks/BlockPumpkin.h index d2e9d7843..4692a47df 100644 --- a/src/Blocks/BlockPumpkin.h +++ b/src/Blocks/BlockPumpkin.h @@ -8,12 +8,14 @@ class cBlockPumpkinHandler : public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > { -typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > super; + typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > super; public: - cBlockPumpkinHandler(BLOCKTYPE a_BlockType) - : super(a_BlockType) + + cBlockPumpkinHandler(BLOCKTYPE a_BlockType) : + super(a_BlockType) { } + virtual void OnPlacedByPlayer(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override { |