summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BlockEntity.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-02-17 20:14:08 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-23 19:50:50 +0100
commitab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2 (patch)
treee4b50b198e8e869a7e8955110a121329ffaf1ac5 /src/BlockEntities/BlockEntity.cpp
parentMerge pull request #694 from mc-server/itemframes (diff)
downloadcuberite-ab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2.tar
cuberite-ab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2.tar.gz
cuberite-ab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2.tar.bz2
cuberite-ab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2.tar.lz
cuberite-ab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2.tar.xz
cuberite-ab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2.tar.zst
cuberite-ab2eba17ec36e5d906d0a45e33b8c7d59e19d4e2.zip
Diffstat (limited to 'src/BlockEntities/BlockEntity.cpp')
-rw-r--r--src/BlockEntities/BlockEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp
index 97b5c1a66..441f54a26 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 "SkullEntity.h"
@@ -31,6 +32,7 @@ cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE
case E_BLOCK_ENDER_CHEST: return new cEnderChestEntity (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_HEAD: return new cSkullEntity (a_BlockX, a_BlockY, a_BlockZ, a_BlockMeta, a_World);
case E_BLOCK_HOPPER: return new cHopperEntity (a_BlockX, a_BlockY, a_BlockZ, a_World);
case E_BLOCK_SIGN_POST: return new cSignEntity (a_BlockType, a_BlockX, a_BlockY, a_BlockZ, a_World);
case E_BLOCK_WALLSIGN: return new cSignEntity (a_BlockType, a_BlockX, a_BlockY, a_BlockZ, a_World);