summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
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/WorldStorage
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/WorldStorage')
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 89a236f07..58dc2e9e4 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -940,7 +940,7 @@ void cWSSAnvil::LoadSkullFromNBT(cBlockEntityList & a_BlockEntities, const cPars
{
return;
}
- std::auto_ptr<cSkullEntity> Skull(new cSkullEntity(E_BLOCK_HEAD, x, y, z, m_World));
+ std::auto_ptr<cSkullEntity> Skull(new cSkullEntity(x, y, z, m_World));
int currentLine = a_NBT.FindChildByName(a_TagIdx, "SkullType");
if (currentLine >= 0)