diff options
Diffstat (limited to 'source/WSSAnvil.h')
-rw-r--r-- | source/WSSAnvil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/WSSAnvil.h b/source/WSSAnvil.h index 58259f0e8..85b4fcaf1 100644 --- a/source/WSSAnvil.h +++ b/source/WSSAnvil.h @@ -102,8 +102,8 @@ protected: /// Loads the chunk from NBT data (no locking needed)
bool LoadChunkFromNBT(const cChunkCoords & a_Chunk, const cParsedNBT & a_NBT);
- /// Saves the chunk into NBT data; returns NULL for failure
- cNBTTag * SaveChunkToNBT(const cChunkCoords & a_Chunk);
+ /// Saves the chunk into NBT data using a_Writer; returns true on success
+ bool SaveChunkToNBT(const cChunkCoords & a_Chunk, cFastNBTWriter & a_Writer);
/// Loads the chunk's entities from NBT data (a_Tag is the Level\\Entities list tag; may be -1)
void LoadEntitiesFromNBT(cEntityList & a_Entitites, const cParsedNBT & a_NBT, int a_Tag);
|