diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-02 01:50:03 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-02 01:50:03 +0100 |
commit | 72ec10f26dc2c86786aa8006120d69e2ec331536 (patch) | |
tree | 1a12b1cca1409a9e9eb91f16df0d0411e4aea4f0 /source/Blocks/BlockHandler.cpp | |
parent | Fixed compile error (portals) (diff) | |
download | cuberite-72ec10f26dc2c86786aa8006120d69e2ec331536.tar cuberite-72ec10f26dc2c86786aa8006120d69e2ec331536.tar.gz cuberite-72ec10f26dc2c86786aa8006120d69e2ec331536.tar.bz2 cuberite-72ec10f26dc2c86786aa8006120d69e2ec331536.tar.lz cuberite-72ec10f26dc2c86786aa8006120d69e2ec331536.tar.xz cuberite-72ec10f26dc2c86786aa8006120d69e2ec331536.tar.zst cuberite-72ec10f26dc2c86786aa8006120d69e2ec331536.zip |
Diffstat (limited to 'source/Blocks/BlockHandler.cpp')
-rw-r--r-- | source/Blocks/BlockHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp index e59fee8ee..cd07b3021 100644 --- a/source/Blocks/BlockHandler.cpp +++ b/source/Blocks/BlockHandler.cpp @@ -44,6 +44,7 @@ #include "BlockOre.h" #include "BlockPiston.h" #include "BlockPlanks.h" +#include "BlockPortal.h" #include "BlockPumpkin.h" #include "BlockRail.h" #include "BlockRedstone.h" @@ -159,6 +160,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_PISTON: return new cBlockPistonHandler (a_BlockType); case E_BLOCK_PISTON_EXTENSION: return new cBlockPistonHeadHandler ( ); case E_BLOCK_PLANKS: return new cBlockPlanksHandler (a_BlockType); + case E_BLOCK_NETHER_PORTAL: return new cBlockPortalHandler (a_BlockType); case E_BLOCK_PUMPKIN: return new cBlockPumpkinHandler (a_BlockType); case E_BLOCK_JACK_O_LANTERN: return new cBlockPumpkinHandler (a_BlockType); case E_BLOCK_PUMPKIN_STEM: return new cBlockStemsHandler (a_BlockType); |