1
0

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
This commit is contained in:
madmaxoft@gmail.com 2013-03-14 20:02:52 +00:00
parent b18f657ac1
commit 7f71bfb58f
2 changed files with 3 additions and 1 deletions

View File

@ -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();

View File

@ -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)
{