summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-07 19:03:56 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-07 19:03:56 +0100
commit5bed85aba0720dc22db56dcaec28675c189491c4 (patch)
tree0b48aac460633e5d0410acf45f591c08ae51ce11 /src/Blocks/BlockHandler.cpp
parentChanged some FastSetBlocks to SetBlock (diff)
downloadcuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.gz
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.bz2
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.lz
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.xz
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.tar.zst
cuberite-5bed85aba0720dc22db56dcaec28675c189491c4.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 4a6d49449..43f9eda37 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -48,6 +48,7 @@
#include "BlockPumpkin.h"
#include "BlockRail.h"
#include "BlockRedstone.h"
+#include "BlockRedstoneLamp.h"
#include "BlockRedstoneRepeater.h"
#include "BlockRedstoneTorch.h"
#include "BlockSand.h"
@@ -171,6 +172,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_RAIL: return new cBlockRailHandler (a_BlockType);
case E_BLOCK_REDSTONE_ORE: return new cBlockOreHandler (a_BlockType);
case E_BLOCK_REDSTONE_ORE_GLOWING: return new cBlockOreHandler (a_BlockType);
+ case E_BLOCK_REDSTONE_LAMP_ON: return new cBlockRedstoneLampHandler (a_BlockType);
case E_BLOCK_REDSTONE_REPEATER_OFF: return new cBlockRedstoneRepeaterHandler(a_BlockType);
case E_BLOCK_REDSTONE_REPEATER_ON: return new cBlockRedstoneRepeaterHandler(a_BlockType);
case E_BLOCK_REDSTONE_TORCH_OFF: return new cBlockRedstoneTorchHandler (a_BlockType);