diff options
author | madmaxoft <github@xoft.cz> | 2014-03-12 07:46:14 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-12 07:46:14 +0100 |
commit | 950614da7e700b8847f0dcc0bac9d76367801a3f (patch) | |
tree | a5ca64ff0c42ce32ea96c513bc65c94c6bf7f7f6 /src/WorldStorage/SchematicFileSerializer.cpp | |
parent | Merge branch 'master' into cBlockArea_Offset (diff) | |
download | cuberite-950614da7e700b8847f0dcc0bac9d76367801a3f.tar cuberite-950614da7e700b8847f0dcc0bac9d76367801a3f.tar.gz cuberite-950614da7e700b8847f0dcc0bac9d76367801a3f.tar.bz2 cuberite-950614da7e700b8847f0dcc0bac9d76367801a3f.tar.lz cuberite-950614da7e700b8847f0dcc0bac9d76367801a3f.tar.xz cuberite-950614da7e700b8847f0dcc0bac9d76367801a3f.tar.zst cuberite-950614da7e700b8847f0dcc0bac9d76367801a3f.zip |
Diffstat (limited to 'src/WorldStorage/SchematicFileSerializer.cpp')
-rw-r--r-- | src/WorldStorage/SchematicFileSerializer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/SchematicFileSerializer.cpp b/src/WorldStorage/SchematicFileSerializer.cpp index b899540df..ef67fdb13 100644 --- a/src/WorldStorage/SchematicFileSerializer.cpp +++ b/src/WorldStorage/SchematicFileSerializer.cpp @@ -189,11 +189,11 @@ bool cSchematicFileSerializer::LoadFromSchematicNBT(cBlockArea & a_BlockArea, cP ) { // Not every schematic file has an offset, so we shoudn't give a warn message. - a_BlockArea.SetOffset(0, 0, 0); + a_BlockArea.SetWEOffset(0, 0, 0); } else { - a_BlockArea.SetOffset(a_NBT.GetInt(TOffsetX), a_NBT.GetInt(TOffsetY), a_NBT.GetInt(TOffsetZ)); + a_BlockArea.SetWEOffset(a_NBT.GetInt(TOffsetX), a_NBT.GetInt(TOffsetY), a_NBT.GetInt(TOffsetZ)); } // Copy the block types and metas: |