summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-12-01 14:58:13 +0100
committerHowaner <franzi.moos@googlemail.com>2014-12-01 14:58:13 +0100
commitbcbd73f7d80b0a64b87c30840048f99613308ce0 (patch)
tree5a2c61db0c715774fbc8a55918cdcd57c405c1aa /src/WorldStorage/WSSAnvil.cpp
parentMerge branch 'master' into MobSpawner (diff)
downloadcuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar
cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.gz
cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.bz2
cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.lz
cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.xz
cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.zst
cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.zip
Diffstat (limited to 'src/WorldStorage/WSSAnvil.cpp')
-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 4520751c7..ddee5e514 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -1095,7 +1095,7 @@ cBlockEntity * cWSSAnvil::LoadMobSpawnerFromNBT(const cParsedNBT & a_NBT, int a_
return nullptr;
}
- std::auto_ptr<cMobSpawnerEntity> MobSpawner(new cMobSpawnerEntity(a_BlockX, a_BlockY, a_BlockZ, m_World));
+ std::unique_ptr<cMobSpawnerEntity> MobSpawner(new cMobSpawnerEntity(a_BlockX, a_BlockY, a_BlockZ, m_World));
// Load entity (MCServer worlds):
int Type = a_NBT.FindChildByName(a_TagIdx, "Entity");