summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorplanetx <pat.moss@planetx.com>2014-12-08 17:28:44 +0100
committerplanetx <pat.moss@planetx.com>2014-12-08 17:28:44 +0100
commit1674f505f86c4bf0268236941bcb7431fcd3a99c (patch)
tree03cee052e0ccd3ccb55b76447627a53960292930 /src/WorldStorage
parentAdded timestamp to merged files WSSAnvil (diff)
downloadcuberite-1674f505f86c4bf0268236941bcb7431fcd3a99c.tar
cuberite-1674f505f86c4bf0268236941bcb7431fcd3a99c.tar.gz
cuberite-1674f505f86c4bf0268236941bcb7431fcd3a99c.tar.bz2
cuberite-1674f505f86c4bf0268236941bcb7431fcd3a99c.tar.lz
cuberite-1674f505f86c4bf0268236941bcb7431fcd3a99c.tar.xz
cuberite-1674f505f86c4bf0268236941bcb7431fcd3a99c.tar.zst
cuberite-1674f505f86c4bf0268236941bcb7431fcd3a99c.zip
Diffstat (limited to '')
-rwxr-xr-xsrc/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 45ebc8b28..8228b8128 100755
--- 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");