summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-17 01:23:50 +0100
committerGitHub <noreply@github.com>2020-03-17 01:23:50 +0100
commit0718c44e778aa7295125b5cbd684aeb646eb4067 (patch)
treeb75ad15f32a035ad73034355854f2700d234ed3f /src/Blocks/BlockHandler.cpp
parentUpdate Core (diff)
downloadcuberite-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 '')
-rw-r--r--src/Blocks/BlockHandler.cpp3
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);