summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-02-18 21:40:02 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-23 19:50:50 +0100
commit7bc59468832f2eb25f64194ba29da4a821a33866 (patch)
treeb22a6888cc8ff883c227835c426e1d786523d970 /src/WorldStorage/WSSAnvil.cpp
parentAdd Skulls/Heads (diff)
downloadcuberite-7bc59468832f2eb25f64194ba29da4a821a33866.tar
cuberite-7bc59468832f2eb25f64194ba29da4a821a33866.tar.gz
cuberite-7bc59468832f2eb25f64194ba29da4a821a33866.tar.bz2
cuberite-7bc59468832f2eb25f64194ba29da4a821a33866.tar.lz
cuberite-7bc59468832f2eb25f64194ba29da4a821a33866.tar.xz
cuberite-7bc59468832f2eb25f64194ba29da4a821a33866.tar.zst
cuberite-7bc59468832f2eb25f64194ba29da4a821a33866.zip
Diffstat (limited to '')
-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)