summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-10 23:09:31 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-10 23:09:31 +0200
commit3d7813fdb29ada655914a46667ab21fd03c15e56 (patch)
tree23679630730b587d570ae3b0759e79af4d4c839b /source/Blocks/BlockHandler.cpp
parentImplemented SteerVehicle packet. (diff)
downloadcuberite-3d7813fdb29ada655914a46667ab21fd03c15e56.tar
cuberite-3d7813fdb29ada655914a46667ab21fd03c15e56.tar.gz
cuberite-3d7813fdb29ada655914a46667ab21fd03c15e56.tar.bz2
cuberite-3d7813fdb29ada655914a46667ab21fd03c15e56.tar.lz
cuberite-3d7813fdb29ada655914a46667ab21fd03c15e56.tar.xz
cuberite-3d7813fdb29ada655914a46667ab21fd03c15e56.tar.zst
cuberite-3d7813fdb29ada655914a46667ab21fd03c15e56.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp
index 5134c1103..7104929bd 100644
--- a/source/Blocks/BlockHandler.cpp
+++ b/source/Blocks/BlockHandler.cpp
@@ -41,6 +41,7 @@
#include "BlockNote.h"
#include "BlockOre.h"
#include "BlockPiston.h"
+#include "BlockPumpkin.h"
#include "BlockRail.h"
#include "BlockRedstone.h"
#include "BlockRedstoneRepeater.h"
@@ -153,6 +154,8 @@ 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 cBlockWoodHandler (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);
case E_BLOCK_QUARTZ_STAIR: return new cBlockStairsHandler (a_BlockType);
case E_BLOCK_RAIL: return new cBlockRailHandler (a_BlockType);