summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorXenoxis <ikdc.services@gmail.com>2020-03-28 13:20:14 +0100
committerGitHub <noreply@github.com>2020-03-28 13:20:14 +0100
commit1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5 (patch)
treeb45ad6c133efaceea749516fb6b6faa7da42d481 /src/Blocks/BlockHandler.cpp
parentToss all items from enchantment table (#4569) (diff)
downloadcuberite-1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5.tar
cuberite-1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5.tar.gz
cuberite-1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5.tar.bz2
cuberite-1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5.tar.lz
cuberite-1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5.tar.xz
cuberite-1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5.tar.zst
cuberite-1e1f79b795ffba893c6bfabc2df7ecee1e6c2ad5.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index a270a45da..5c23896bd 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -8,6 +8,7 @@
#include "BlockAnvil.h"
#include "BlockBed.h"
#include "BlockBigFlower.h"
+#include "BlockBookShelf.h"
#include "BlockBrewingStand.h"
#include "BlockButton.h"
#include "BlockCactus.h"
@@ -202,6 +203,7 @@ static cBlockHandler * CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_BIRCH_FENCE: return new cBlockFenceHandler (a_BlockType);
case E_BLOCK_BIRCH_FENCE_GATE: return new cBlockFenceGateHandler (a_BlockType);
case E_BLOCK_BIRCH_WOOD_STAIRS: return new cBlockStairsHandler (a_BlockType);
+ case E_BLOCK_BOOKCASE: return new cBlockBookShelfHandler (a_BlockType);
case E_BLOCK_BREWING_STAND: return new cBlockBrewingStandHandler (a_BlockType);
case E_BLOCK_BRICK_STAIRS: return new cBlockStairsHandler (a_BlockType);
case E_BLOCK_BROWN_MUSHROOM: return new cBlockMushroomHandler (a_BlockType);