summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-09-11 21:19:39 +0200
committerMattes D <github@xoft.cz>2013-09-11 21:19:39 +0200
commit85804d085deaa311a91dc272b0715c0f18771207 (patch)
tree74bff08b3a69a18d6832a7bb3d5660281f600f3e /source/Blocks/BlockHandler.cpp
parentMerge pull request #161 from worktycho/master (diff)
parentMore changes [SEE DESC] (diff)
downloadcuberite-85804d085deaa311a91dc272b0715c0f18771207.tar
cuberite-85804d085deaa311a91dc272b0715c0f18771207.tar.gz
cuberite-85804d085deaa311a91dc272b0715c0f18771207.tar.bz2
cuberite-85804d085deaa311a91dc272b0715c0f18771207.tar.lz
cuberite-85804d085deaa311a91dc272b0715c0f18771207.tar.xz
cuberite-85804d085deaa311a91dc272b0715c0f18771207.tar.zst
cuberite-85804d085deaa311a91dc272b0715c0f18771207.zip
Diffstat (limited to 'source/Blocks/BlockHandler.cpp')
-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);