From 7f71bfb58f290e72d6c9050621bca3555fc94632 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 14 Mar 2013 20:02:52 +0000 Subject: Fix for the Vaporize fluid simulator when loading chunks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1271 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Chunk.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/Chunk.cpp') 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(); -- cgit v1.2.3