summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSkull.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-02-18 21:40:02 +0100
committerHowaner <franzi.moos@googlemail.com>2014-02-18 21:40:02 +0100
commit52c41f886927cf62ed592ba7fec974eee6b16844 (patch)
treea8479e65d606e2bcdf092501f30a43b778917d13 /src/Items/ItemSkull.h
parentAdd Skulls/Heads (diff)
downloadcuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar
cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.gz
cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.bz2
cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.lz
cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.xz
cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.zst
cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.zip
Diffstat (limited to 'src/Items/ItemSkull.h')
-rw-r--r--src/Items/ItemSkull.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Items/ItemSkull.h b/src/Items/ItemSkull.h
index f511c8c4a..3648f1436 100644
--- a/src/Items/ItemSkull.h
+++ b/src/Items/ItemSkull.h
@@ -31,6 +31,7 @@ public:
BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta
) override
{
+
a_BlockType = E_BLOCK_HEAD;
a_BlockMeta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage & 0x0f);