summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BlockEntity.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-02-19 14:45:09 +0100
committerHowaner <franzi.moos@googlemail.com>2014-02-19 14:45:09 +0100
commitd63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052 (patch)
treee2a6645283f80bd664a4bc8d402f52f13824cd14 /src/BlockEntities/BlockEntity.cpp
parentAdd break to Protocol17x.cpp and use new comment delimiter (diff)
downloadcuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar
cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.gz
cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.bz2
cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.lz
cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.xz
cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.zst
cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BlockEntity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp
index f01a139d2..57ad83de9 100644
--- a/src/BlockEntities/BlockEntity.cpp
+++ b/src/BlockEntities/BlockEntity.cpp
@@ -15,7 +15,7 @@
#include "JukeboxEntity.h"
#include "NoteEntity.h"
#include "SignEntity.h"
-#include "SkullEntity.h"
+#include "MobHeadEntity.h"
@@ -30,7 +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 cSkullEntity (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);