diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-10 14:24:57 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-10 14:24:57 +0100 |
commit | 48470bb61a0ac97b2535828b6db0baa60592c595 (patch) | |
tree | 864873d51ee2b1506d359b6841fdfc66afb87dd0 /source/BlockArea.cpp | |
parent | Added cBlockArea:Expand() API function (untested) (diff) | |
download | cuberite-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 |
Diffstat (limited to 'source/BlockArea.cpp')
-rw-r--r-- | source/BlockArea.cpp | 5 |
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
|