diff options
Diffstat (limited to 'src/Blocks/BlockHandler.h')
-rw-r--r-- | src/Blocks/BlockHandler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h index 90866fbb7..96e251f49 100644 --- a/src/Blocks/BlockHandler.h +++ b/src/Blocks/BlockHandler.h @@ -228,12 +228,12 @@ public: Helper used in many ConvertToPickups() implementations. */ static bool ToolHasSilkTouch(const cItem * a_Tool); + // Gets the blockhandler for the given block type. + static cBlockHandler & GetBlockHandler(BLOCKTYPE a_BlockType); protected: - BLOCKTYPE m_BlockType; - // Creates a new blockhandler for the given block type. For internal use only, use ::GetBlockHandler() instead. - static cBlockHandler * CreateBlockHandler(BLOCKTYPE a_BlockType); + BLOCKTYPE m_BlockType; friend class cBlockInfo; }; |