summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-25 14:50:20 +0100
committerluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-25 14:50:20 +0100
commitc24905426c77d33416c1fc46fcf0ad0747551417 (patch)
tree7ff594a774f7485f84a8fbb565323bd2337435c3 /source/Blocks/BlockHandler.cpp
parentFixed drops for: Stone, Mycelium, Redstone Torch. (diff)
downloadcuberite-c24905426c77d33416c1fc46fcf0ad0747551417.tar
cuberite-c24905426c77d33416c1fc46fcf0ad0747551417.tar.gz
cuberite-c24905426c77d33416c1fc46fcf0ad0747551417.tar.bz2
cuberite-c24905426c77d33416c1fc46fcf0ad0747551417.tar.lz
cuberite-c24905426c77d33416c1fc46fcf0ad0747551417.tar.xz
cuberite-c24905426c77d33416c1fc46fcf0ad0747551417.tar.zst
cuberite-c24905426c77d33416c1fc46fcf0ad0747551417.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockHandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp
index 88f279ff5..53e9c4a06 100644
--- a/source/Blocks/BlockHandler.cpp
+++ b/source/Blocks/BlockHandler.cpp
@@ -45,6 +45,7 @@
#include "BlockBed.h"
#include "BlockFarmland.h"
#include "BlockMycelium.h"
+#include "BlockRail.h"
@@ -124,6 +125,9 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_PISTON: return new cBlockPistonHandler (a_BlockType);
case E_BLOCK_PLANKS: return new cBlockWoodHandler (a_BlockType);
case E_BLOCK_PUMPKIN_STEM: return new cBlockStemsHandler (a_BlockType);
+ case E_BLOCK_RAIL: return new cBlockRailHandler (a_BlockType);
+ case E_BLOCK_POWERED_RAIL: return new cBlockRailHandler (a_BlockType);
+ case E_BLOCK_DETECTOR_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_REPEATER_OFF: return new cBlockRedstoneRepeaterHandler(a_BlockType);