diff options
author | Mattes D <github@xoft.cz> | 2014-06-18 18:23:18 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-06-18 18:23:18 +0200 |
commit | c30b7b87354cd7868dd986008ac91187390a08b2 (patch) | |
tree | 5f7222853d649ca5e66a2640462b4468be6fd79e /src/Blocks/BlockHandler.cpp | |
parent | Merge pull request #1100 from Howaner/Slabs (diff) | |
parent | Merge branch 'master' into GlobalFixes (diff) | |
download | cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.gz cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.bz2 cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.lz cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.xz cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.zst cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index 6b08ec9ba..a7b89fcb7 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -38,6 +38,7 @@ #include "BlockGlass.h" #include "BlockGlowstone.h" #include "BlockGravel.h" +#include "BlockHayBale.h" #include "BlockMobHead.h" #include "BlockHopper.h" #include "BlockIce.h" @@ -134,7 +135,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_GLASS_PANE: return new cBlockGlassHandler (a_BlockType); case E_BLOCK_GRASS: return new cBlockDirtHandler (a_BlockType); case E_BLOCK_GRAVEL: return new cBlockGravelHandler (a_BlockType); - case E_BLOCK_HAY_BALE: return new cBlockSidewaysHandler (a_BlockType); + case E_BLOCK_HAY_BALE: return new cBlockHayBaleHandler (a_BlockType); case E_BLOCK_HEAD: return new cBlockMobHeadHandler (a_BlockType); case E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE: return new cBlockPressurePlateHandler(a_BlockType); case E_BLOCK_HOPPER: return new cBlockHopperHandler (a_BlockType); |