diff options
author | Mattes D <github@xoft.cz> | 2014-02-19 22:12:38 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-02-19 22:12:38 +0100 |
commit | 87db4b6a904f2877919446b8219d659848da89e8 (patch) | |
tree | 617bf18a768a493c2cd428297168f57df0901c26 /src/BlockEntities/BlockEntity.cpp | |
parent | Merge pull request #694 from mc-server/itemframes (diff) | |
parent | Rename SkullEntity to MobHeadEntity (diff) | |
download | cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.gz cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.bz2 cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.lz cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.xz cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.zst cuberite-87db4b6a904f2877919446b8219d659848da89e8.zip |
Diffstat (limited to '')
-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 97b5c1a66..57ad83de9 100644 --- a/src/BlockEntities/BlockEntity.cpp +++ b/src/BlockEntities/BlockEntity.cpp @@ -15,6 +15,7 @@ #include "JukeboxEntity.h" #include "NoteEntity.h" #include "SignEntity.h" +#include "MobHeadEntity.h" @@ -29,6 +30,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_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); case E_BLOCK_HOPPER: return new cHopperEntity (a_BlockX, a_BlockY, a_BlockZ, a_World); |