diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-03-07 01:30:34 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-03-07 01:30:34 +0100 |
commit | 787a71929cd4095681b37acf81332b7b9c3ddf89 (patch) | |
tree | 2a35d5ecc058f1defaa0051b99d0ffe63770f4b8 /src/BlockEntities/BlockEntity.cpp | |
parent | Merge pull request #747 from mc-server/InfoDump_Github (diff) | |
download | cuberite-787a71929cd4095681b37acf81332b7b9c3ddf89.tar cuberite-787a71929cd4095681b37acf81332b7b9c3ddf89.tar.gz cuberite-787a71929cd4095681b37acf81332b7b9c3ddf89.tar.bz2 cuberite-787a71929cd4095681b37acf81332b7b9c3ddf89.tar.lz cuberite-787a71929cd4095681b37acf81332b7b9c3ddf89.tar.xz cuberite-787a71929cd4095681b37acf81332b7b9c3ddf89.tar.zst cuberite-787a71929cd4095681b37acf81332b7b9c3ddf89.zip |
Diffstat (limited to 'src/BlockEntities/BlockEntity.cpp')
-rw-r--r-- | src/BlockEntities/BlockEntity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp index 57ad83de9..b42318c2f 100644 --- a/src/BlockEntities/BlockEntity.cpp +++ b/src/BlockEntities/BlockEntity.cpp @@ -10,6 +10,7 @@ #include "DispenserEntity.h" #include "DropperEntity.h" #include "EnderChestEntity.h" +#include "FlowerPotEntity.h" #include "FurnaceEntity.h" #include "HopperEntity.h" #include "JukeboxEntity.h" @@ -30,6 +31,7 @@ cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE case E_BLOCK_DISPENSER: return new cDispenserEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); case E_BLOCK_DROPPER: return new cDropperEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); case E_BLOCK_ENDER_CHEST: return new cEnderChestEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); + case E_BLOCK_FLOWER_POT: return new cFlowerPotEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); case E_BLOCK_HEAD: return new cMobHeadEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); case E_BLOCK_LIT_FURNACE: return new cFurnaceEntity (a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_World); case E_BLOCK_FURNACE: return new cFurnaceEntity (a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_World); |