BlockStone.h: fix the codestyle
This commit is contained in:
parent
d5ae659da3
commit
9628733df2
@ -18,13 +18,12 @@ public:
|
|||||||
|
|
||||||
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
||||||
{
|
{
|
||||||
switch(a_BlockMeta) {
|
if(a_BlockMeta == E_META_STONE)
|
||||||
case E_META_STONE:
|
{
|
||||||
a_Pickups.push_back(cItem(E_BLOCK_COBBLESTONE, 1, 0));
|
a_Pickups.push_back(cItem(E_BLOCK_COBBLESTONE, 1, 0));
|
||||||
break;
|
return;
|
||||||
default:
|
|
||||||
a_Pickups.push_back(cItem(E_BLOCK_STONE, 1, a_BlockMeta));
|
|
||||||
}
|
}
|
||||||
|
a_Pickups.push_back(cItem(E_BLOCK_STONE, 1, a_BlockMeta));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user