summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-10 14:24:57 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-10 14:24:57 +0100
commit48470bb61a0ac97b2535828b6db0baa60592c595 (patch)
tree864873d51ee2b1506d359b6841fdfc66afb87dd0
parentAdded cBlockArea:Expand() API function (untested) (diff)
downloadcuberite-48470bb61a0ac97b2535828b6db0baa60592c595.tar
cuberite-48470bb61a0ac97b2535828b6db0baa60592c595.tar.gz
cuberite-48470bb61a0ac97b2535828b6db0baa60592c595.tar.bz2
cuberite-48470bb61a0ac97b2535828b6db0baa60592c595.tar.lz
cuberite-48470bb61a0ac97b2535828b6db0baa60592c595.tar.xz
cuberite-48470bb61a0ac97b2535828b6db0baa60592c595.tar.zst
cuberite-48470bb61a0ac97b2535828b6db0baa60592c595.zip
-rw-r--r--source/BlockArea.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/BlockArea.cpp b/source/BlockArea.cpp
index c39819b4f..472b14c59 100644
--- a/source/BlockArea.cpp
+++ b/source/BlockArea.cpp
@@ -293,6 +293,11 @@ bool cBlockArea::SaveToSchematicFile(const AString & a_FileName)
AString Dummy(GetBlockCount(), 0);
Writer.AddByteArray("Data", Dummy.data(), Dummy.size());
}
+ // TODO: Save entities and block entities
+ Writer.BeginList("Entities", TAG_Compound);
+ Writer.EndList();
+ Writer.BeginList("TileEntities", TAG_Compound);
+ Writer.EndList();
Writer.Finish();
// TODO: Save to file