diff options
author | planetx <pat.moss@planetx.com> | 2014-12-08 17:28:44 +0100 |
---|---|---|
committer | planetx <pat.moss@planetx.com> | 2014-12-08 17:28:44 +0100 |
commit | 1674f505f86c4bf0268236941bcb7431fcd3a99c (patch) | |
tree | 03cee052e0ccd3ccb55b76447627a53960292930 | |
parent | Added timestamp to merged files WSSAnvil (diff) | |
download | cuberite-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 |
-rwxr-xr-x | src/WorldStorage/WSSAnvil.cpp | 2 |
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"); |