diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-12-01 16:39:42 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-12-01 16:39:42 +0100 |
commit | cd0081bb677c09b21fc5017dc1e01eaa18774698 (patch) | |
tree | 3a5ea294a105a298d91817a2599ae296b7c34d4b /src/BlockEntities/BlockEntity.cpp | |
parent | Added better soulsand rims (diff) | |
parent | Updated core (diff) | |
download | cuberite-cd0081bb677c09b21fc5017dc1e01eaa18774698.tar cuberite-cd0081bb677c09b21fc5017dc1e01eaa18774698.tar.gz cuberite-cd0081bb677c09b21fc5017dc1e01eaa18774698.tar.bz2 cuberite-cd0081bb677c09b21fc5017dc1e01eaa18774698.tar.lz cuberite-cd0081bb677c09b21fc5017dc1e01eaa18774698.tar.xz cuberite-cd0081bb677c09b21fc5017dc1e01eaa18774698.tar.zst cuberite-cd0081bb677c09b21fc5017dc1e01eaa18774698.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/BlockEntity.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp index 3d96e891e..c59198e79 100644 --- a/src/BlockEntities/BlockEntity.cpp +++ b/src/BlockEntities/BlockEntity.cpp @@ -14,10 +14,11 @@ #include "FlowerPotEntity.h" #include "FurnaceEntity.h" #include "HopperEntity.h" +#include "MobHeadEntity.h" +#include "MobSpawnerEntity.h" #include "JukeboxEntity.h" #include "NoteEntity.h" #include "SignEntity.h" -#include "MobHeadEntity.h" @@ -37,6 +38,7 @@ cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE case E_BLOCK_FURNACE: return new cFurnaceEntity (a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_World); case E_BLOCK_HEAD: return new cMobHeadEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); case E_BLOCK_HOPPER: return new cHopperEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); + case E_BLOCK_MOB_SPAWNER: return new cMobSpawnerEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); case E_BLOCK_JUKEBOX: return new cJukeboxEntity (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_SIGN_POST: return new cSignEntity (a_BlockType, a_BlockX, a_BlockY, a_BlockZ, a_World); |