diff options
author | Mattes D <github@xoft.cz> | 2014-05-09 20:59:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-09 20:59:59 +0200 |
commit | 839cff62ad34fd4203e7920b491419ced8f0ddbd (patch) | |
tree | 3557874b60f1a0ae440651459aefdbfb6e56ce2b /src/WorldStorage/WSSAnvil.h | |
parent | Removed unused constants from MineShafts and Ravines. (diff) | |
parent | Fixed size_t in FireworksSerializer. (diff) | |
download | cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.gz cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.bz2 cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.lz cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.xz cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.zst cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/WSSAnvil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/WSSAnvil.h b/src/WorldStorage/WSSAnvil.h index 1773ee882..7542a828a 100644 --- a/src/WorldStorage/WSSAnvil.h +++ b/src/WorldStorage/WSSAnvil.h @@ -145,7 +145,7 @@ protected: void LoadMobHeadFromNBT (cBlockEntityList & a_BlockEntities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadCommandBlockFromNBT(cBlockEntityList & a_BlockEntities, const cParsedNBT & a_NBT, int a_TagIdx); - void LoadEntityFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_EntityTagIdx, const char * a_IDTag, int a_IDTagLength); + void LoadEntityFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_EntityTagIdx, const char * a_IDTag, size_t a_IDTagLength); void LoadBoatFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadEnderCrystalFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); @@ -221,7 +221,7 @@ protected: cMCAFile * LoadMCAFile(const cChunkCoords & a_Chunk); /// Copies a_Length bytes of data from the specified NBT Tag's Child into the a_Destination buffer - void CopyNBTData(const cParsedNBT & a_NBT, int a_Tag, const AString & a_ChildName, char * a_Destination, int a_Length); + void CopyNBTData(const cParsedNBT & a_NBT, int a_Tag, const AString & a_ChildName, char * a_Destination, size_t a_Length); // cWSSchema overrides: virtual bool LoadChunk(const cChunkCoords & a_Chunk) override; |