summaryrefslogtreecommitdiffstats
path: root/source/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-14 21:02:52 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-14 21:02:52 +0100
commit7f71bfb58f290e72d6c9050621bca3555fc94632 (patch)
tree800bbd6907f679f1f7614e426ad7f7c17d00895a /source/Chunk.cpp
parentAdded a Vaporize fluid simulator that simply replaces fluid blocks with air. (diff)
downloadcuberite-7f71bfb58f290e72d6c9050621bca3555fc94632.tar
cuberite-7f71bfb58f290e72d6c9050621bca3555fc94632.tar.gz
cuberite-7f71bfb58f290e72d6c9050621bca3555fc94632.tar.bz2
cuberite-7f71bfb58f290e72d6c9050621bca3555fc94632.tar.lz
cuberite-7f71bfb58f290e72d6c9050621bca3555fc94632.tar.xz
cuberite-7f71bfb58f290e72d6c9050621bca3555fc94632.tar.zst
cuberite-7f71bfb58f290e72d6c9050621bca3555fc94632.zip
Diffstat (limited to 'source/Chunk.cpp')
-rw-r--r--source/Chunk.cpp3
1 files changed, 3 insertions, 0 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();