diff options
author | Mat <mail@mathias.is> | 2020-03-17 01:23:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 01:23:50 +0100 |
commit | 0718c44e778aa7295125b5cbd684aeb646eb4067 (patch) | |
tree | b75ad15f32a035ad73034355854f2700d234ed3f /src/Blocks/BlockHandler.cpp | |
parent | Update Core (diff) | |
download | cuberite-0718c44e778aa7295125b5cbd684aeb646eb4067.tar cuberite-0718c44e778aa7295125b5cbd684aeb646eb4067.tar.gz cuberite-0718c44e778aa7295125b5cbd684aeb646eb4067.tar.bz2 cuberite-0718c44e778aa7295125b5cbd684aeb646eb4067.tar.lz cuberite-0718c44e778aa7295125b5cbd684aeb646eb4067.tar.xz cuberite-0718c44e778aa7295125b5cbd684aeb646eb4067.tar.zst cuberite-0718c44e778aa7295125b5cbd684aeb646eb4067.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 9651f072a..a865bce63 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -40,6 +40,7 @@ #include "BlockFurnace.h" #include "BlockGlass.h" #include "BlockGlowstone.h" +#include "BlockGrass.h" #include "BlockGravel.h" #include "BlockMobHead.h" #include "BlockHopper.h" @@ -246,7 +247,7 @@ static cBlockHandler * CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_GLASS_PANE: return new cBlockGlassHandler (a_BlockType); case E_BLOCK_GLOWSTONE: return new cBlockGlowstoneHandler (a_BlockType); case E_BLOCK_GOLD_ORE: return new cBlockOreHandler (a_BlockType); - case E_BLOCK_GRASS: return new cBlockDirtHandler (a_BlockType); + case E_BLOCK_GRASS: return new cBlockGrassHandler (a_BlockType); case E_BLOCK_GRAVEL: return new cBlockGravelHandler (a_BlockType); case E_BLOCK_HAY_BALE: return new cBlockSidewaysHandler (a_BlockType); case E_BLOCK_HEAD: return new cBlockMobHeadHandler (a_BlockType); |