diff options
Diffstat (limited to '')
-rw-r--r-- | source/Blocks/BlockStone.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/source/Blocks/BlockStone.h b/source/Blocks/BlockStone.h index 8b645bf1e..c4faf2498 100644 --- a/source/Blocks/BlockStone.h +++ b/source/Blocks/BlockStone.h @@ -1,9 +1,16 @@ +
#pragma once
+
#include "BlockHandler.h"
#include "../MersenneTwister.h"
#include "../World.h"
-class cBlockStoneHandler : public cBlockHandler
+
+
+
+
+class cBlockStoneHandler :
+ public cBlockHandler
{
public:
cBlockStoneHandler(BLOCKTYPE a_BlockID)
@@ -11,8 +18,12 @@ public: {
}
- virtual int GetDropID() override
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
- return E_ITEM_COBBLESTONE;
- }
-};
\ No newline at end of file + a_Pickups.push_back(cItem(E_BLOCK_STONE, 1, 0));
+ }
+} ;
+
+
+
+
|