summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-07 12:28:24 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-07 12:28:24 +0100
commit69a4ee53830121714927c37e4f0b9a357cd03957 (patch)
treea743079aabb0d1542b1ef2a025acb167d91818a6 /source/WorldStorage.cpp
parentSticky pistons should work as well now (diff)
downloadcuberite-69a4ee53830121714927c37e4f0b9a357cd03957.tar
cuberite-69a4ee53830121714927c37e4f0b9a357cd03957.tar.gz
cuberite-69a4ee53830121714927c37e4f0b9a357cd03957.tar.bz2
cuberite-69a4ee53830121714927c37e4f0b9a357cd03957.tar.lz
cuberite-69a4ee53830121714927c37e4f0b9a357cd03957.tar.xz
cuberite-69a4ee53830121714927c37e4f0b9a357cd03957.tar.zst
cuberite-69a4ee53830121714927c37e4f0b9a357cd03957.zip
Diffstat (limited to 'source/WorldStorage.cpp')
-rw-r--r--source/WorldStorage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/WorldStorage.cpp b/source/WorldStorage.cpp
index 4c433aef4..484b87691 100644
--- a/source/WorldStorage.cpp
+++ b/source/WorldStorage.cpp
@@ -8,6 +8,7 @@
#include "Globals.h"
#include "WorldStorage.h"
#include "WSSCompact.h"
+#include "WSSAnvil.h"
#include "cWorld.h"
#include "cChunkGenerator.h"
#include "cEntity.h"
@@ -270,7 +271,8 @@ void cWorldStorage::UnqueueSave(const cChunkCoords & a_Chunk)
void cWorldStorage::InitSchemas(void)
{
// The first schema added is considered the default
- m_Schemas.push_back(new cWSSCompact(m_World));
+ m_Schemas.push_back(new cWSSCompact (m_World));
+ m_Schemas.push_back(new cWSSAnvil (m_World));
m_Schemas.push_back(new cWSSForgetful(m_World));
// Add new schemas here