Fixed code formatting.
This commit is contained in:
parent
639dfdb67d
commit
9a970479ef
@ -10,10 +10,11 @@
|
|||||||
class cBlockLilypadHandler :
|
class cBlockLilypadHandler :
|
||||||
public cClearMetaOnDrop<cBlockHandler>
|
public cClearMetaOnDrop<cBlockHandler>
|
||||||
{
|
{
|
||||||
typedef cClearMetaOnDrop<cBlockHandler> super;
|
typedef cClearMetaOnDrop<cBlockHandler> super;
|
||||||
public:
|
public:
|
||||||
cBlockLilypadHandler(BLOCKTYPE a_BlockType)
|
|
||||||
: super(a_BlockType)
|
cBlockLilypadHandler(BLOCKTYPE a_BlockType) :
|
||||||
|
super(a_BlockType)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -8,13 +8,15 @@
|
|||||||
class cBlockPumpkinHandler :
|
class cBlockPumpkinHandler :
|
||||||
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> >
|
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:
|
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
|
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
|
||||||
{
|
{
|
||||||
// Check whether the pumpkin is a part of a golem or a snowman
|
// Check whether the pumpkin is a part of a golem or a snowman
|
||||||
|
Loading…
Reference in New Issue
Block a user