summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockPumpkin.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-15 14:54:24 +0200
committermadmaxoft <github@xoft.cz>2014-07-15 14:54:24 +0200
commit9a970479efaef781ea8f69e3d8b8a1e2aa367847 (patch)
tree880fb567ada15ad406b02e8f7e1b5c941619b0fb /src/Blocks/BlockPumpkin.h
parentMerge remote-tracking branch 'origin/ClearMetaMixin' (diff)
downloadcuberite-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/BlockPumpkin.h8
1 files changed, 5 insertions, 3 deletions
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
{