summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-11 18:23:21 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-11 18:23:21 +0100
commite213e5f9fcb3681a5f383546e17b9800d4a4804a (patch)
treeb4bd964c4966ed1103f859e58b97f637a73cc8cc /src/WorldStorage
parentUsing ```const Vector3i &``` (diff)
downloadcuberite-e213e5f9fcb3681a5f383546e17b9800d4a4804a.tar
cuberite-e213e5f9fcb3681a5f383546e17b9800d4a4804a.tar.gz
cuberite-e213e5f9fcb3681a5f383546e17b9800d4a4804a.tar.bz2
cuberite-e213e5f9fcb3681a5f383546e17b9800d4a4804a.tar.lz
cuberite-e213e5f9fcb3681a5f383546e17b9800d4a4804a.tar.xz
cuberite-e213e5f9fcb3681a5f383546e17b9800d4a4804a.tar.zst
cuberite-e213e5f9fcb3681a5f383546e17b9800d4a4804a.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/SchematicFileSerializer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WorldStorage/SchematicFileSerializer.cpp b/src/WorldStorage/SchematicFileSerializer.cpp
index 0aea931eb..b899540df 100644
--- a/src/WorldStorage/SchematicFileSerializer.cpp
+++ b/src/WorldStorage/SchematicFileSerializer.cpp
@@ -253,9 +253,9 @@ AString cSchematicFileSerializer::SaveToSchematicNBT(const cBlockArea & a_BlockA
Writer.AddByteArray("Data", Dummy.data(), Dummy.size());
}
- Writer.AddInt("WEOffsetX", a_BlockArea.m_Offset.x);
- Writer.AddInt("WEOffsetY", a_BlockArea.m_Offset.y);
- Writer.AddInt("WEOffsetZ", a_BlockArea.m_Offset.z);
+ Writer.AddInt("WEOffsetX", a_BlockArea.m_WEOffset.x);
+ Writer.AddInt("WEOffsetY", a_BlockArea.m_WEOffset.y);
+ Writer.AddInt("WEOffsetZ", a_BlockArea.m_WEOffset.z);
// TODO: Save entities and block entities
Writer.BeginList("Entities", TAG_Compound);