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
|
||||
{
|
||||
switch(a_BlockMeta) {
|
||||
case E_META_STONE:
|
||||
a_Pickups.push_back(cItem(E_BLOCK_COBBLESTONE, 1, 0));
|
||||
break;
|
||||
default:
|
||||
a_Pickups.push_back(cItem(E_BLOCK_STONE, 1, a_BlockMeta));
|
||||
if(a_BlockMeta == E_META_STONE)
|
||||
{
|
||||
a_Pickups.push_back(cItem(E_BLOCK_COBBLESTONE, 1, 0));
|
||||
return;
|
||||
}
|
||||
a_Pickups.push_back(cItem(E_BLOCK_STONE, 1, a_BlockMeta));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user