summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Chunk.cpp3
-rw-r--r--source/ChunkMap.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp
index e87de292e..26212bed1 100644
--- a/source/Chunk.cpp
+++ b/source/Chunk.cpp
@@ -315,6 +315,9 @@ void cChunk::SetAllData(
// Create block entities that the loader didn't load; fill them with defaults
CreateBlockEntities();
+ // Set the chunk data as valid. This may be needed for some simulators that perform actions upon block adding (Vaporize)
+ SetValid();
+
// Wake up all simulators for their respective blocks:
WakeUpSimulators();
diff --git a/source/ChunkMap.cpp b/source/ChunkMap.cpp
index 00f40f093..aad956aff 100644
--- a/source/ChunkMap.cpp
+++ b/source/ChunkMap.cpp
@@ -738,7 +738,6 @@ void cChunkMap::SetChunkData(
return;
}
Chunk->SetAllData(a_BlockTypes, a_BlockMeta, a_BlockLight, a_BlockSkyLight, a_HeightMap, a_BiomeMap, a_Entities, a_BlockEntities);
- Chunk->SetValid();
if (a_MarkDirty)
{