diff options
author | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-25 14:50:20 +0100 |
---|---|---|
committer | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-25 14:50:20 +0100 |
commit | c24905426c77d33416c1fc46fcf0ad0747551417 (patch) | |
tree | 7ff594a774f7485f84a8fbb565323bd2337435c3 /source/Blocks/BlockHandler.cpp | |
parent | Fixed drops for: Stone, Mycelium, Redstone Torch. (diff) | |
download | cuberite-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.cpp | 4 |
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);
|