summaryrefslogtreecommitdiffstats
path: root/source/Simulator/DelayedFluidSimulator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-22 21:54:27 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-22 21:54:27 +0200
commit889402a56a60736b213eda63d2a2a52e341b0c47 (patch)
tree9f877ad4207bff20e50e79a339c723db02497f5f /source/Simulator/DelayedFluidSimulator.cpp
parentAdded the docs folder with some documents that have piled up in my working copy (diff)
downloadcuberite-889402a56a60736b213eda63d2a2a52e341b0c47.tar
cuberite-889402a56a60736b213eda63d2a2a52e341b0c47.tar.gz
cuberite-889402a56a60736b213eda63d2a2a52e341b0c47.tar.bz2
cuberite-889402a56a60736b213eda63d2a2a52e341b0c47.tar.lz
cuberite-889402a56a60736b213eda63d2a2a52e341b0c47.tar.xz
cuberite-889402a56a60736b213eda63d2a2a52e341b0c47.tar.zst
cuberite-889402a56a60736b213eda63d2a2a52e341b0c47.zip
Diffstat (limited to 'source/Simulator/DelayedFluidSimulator.cpp')
-rw-r--r--source/Simulator/DelayedFluidSimulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Simulator/DelayedFluidSimulator.cpp b/source/Simulator/DelayedFluidSimulator.cpp
index b69718977..6cc982e3d 100644
--- a/source/Simulator/DelayedFluidSimulator.cpp
+++ b/source/Simulator/DelayedFluidSimulator.cpp
@@ -86,7 +86,7 @@ void cDelayedFluidSimulator::AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ,
return;
}
- if (a_Chunk == NULL)
+ if ((a_Chunk == NULL) || !a_Chunk->IsValid())
{
return;
}