summaryrefslogtreecommitdiffstats
path: root/src/SetChunkData.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 22:45:45 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 22:50:18 +0100
commitca6ef58b1ee8521e4b940ee4883dee714960e413 (patch)
tree8532add455224b07c07a759e3d906f50c0695888 /src/SetChunkData.cpp
parentMerge pull request #2972 from marvinkopf/PlayerAutoComplete (diff)
downloadcuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.gz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.bz2
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.lz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.xz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.zst
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.zip
Diffstat (limited to '')
-rw-r--r--src/SetChunkData.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SetChunkData.cpp b/src/SetChunkData.cpp
index c0ae31fd3..d85f78459 100644
--- a/src/SetChunkData.cpp
+++ b/src/SetChunkData.cpp
@@ -48,7 +48,7 @@ cSetChunkData::cSetChunkData(
// Copy block types and metas:
memcpy(m_BlockTypes, a_BlockTypes, sizeof(cChunkDef::BlockTypes));
memcpy(m_BlockMetas, a_BlockMetas, sizeof(cChunkDef::BlockNibbles));
-
+
// Copy lights, if both given:
if ((a_BlockLight != nullptr) && (a_SkyLight != nullptr))
{
@@ -60,7 +60,7 @@ cSetChunkData::cSetChunkData(
{
m_IsLightValid = false;
}
-
+
// Copy the heightmap, if available:
if (a_HeightMap != nullptr)
{
@@ -71,7 +71,7 @@ cSetChunkData::cSetChunkData(
{
m_IsHeightMapValid = false;
}
-
+
// Copy biomes, if available:
if (a_Biomes != nullptr)
{
@@ -82,7 +82,7 @@ cSetChunkData::cSetChunkData(
{
m_AreBiomesValid = false;
}
-
+
// Move entities and blockentities:
m_Entities = std::move(a_Entities);
m_BlockEntities = std::move(a_BlockEntities);