summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-02 17:10:18 +0100
committerMattes D <github@xoft.cz>2013-11-02 17:10:18 +0100
commit56c97d6c3021d8bcb1e9cc5ff19123987ba73179 (patch)
treec4a3291e951d8a82d4db12a641e0044718b3241d /source/Blocks/BlockHandler.cpp
parentMerge pull request #305 from tigerw/morebugfixes (diff)
parentSplit border finder into separate function (diff)
downloadcuberite-56c97d6c3021d8bcb1e9cc5ff19123987ba73179.tar
cuberite-56c97d6c3021d8bcb1e9cc5ff19123987ba73179.tar.gz
cuberite-56c97d6c3021d8bcb1e9cc5ff19123987ba73179.tar.bz2
cuberite-56c97d6c3021d8bcb1e9cc5ff19123987ba73179.tar.lz
cuberite-56c97d6c3021d8bcb1e9cc5ff19123987ba73179.tar.xz
cuberite-56c97d6c3021d8bcb1e9cc5ff19123987ba73179.tar.zst
cuberite-56c97d6c3021d8bcb1e9cc5ff19123987ba73179.zip
Diffstat (limited to 'source/Blocks/BlockHandler.cpp')
-rw-r--r--source/Blocks/BlockHandler.cpp2
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);