summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgushromp <blashyrk92@gmail.com>2014-12-16 22:58:23 +0100
committergushromp <blashyrk92@gmail.com>2014-12-16 22:58:23 +0100
commitc2d32ce31bd36be8c408227dbea974eee8b79d85 (patch)
tree3bd0e5bf2de4adf81d93228045caae36189d2772
parentFixed water from spreading on bottom of world (diff)
parentFixed water from spreading on bottom of world (diff)
downloadcuberite-c2d32ce31bd36be8c408227dbea974eee8b79d85.tar
cuberite-c2d32ce31bd36be8c408227dbea974eee8b79d85.tar.gz
cuberite-c2d32ce31bd36be8c408227dbea974eee8b79d85.tar.bz2
cuberite-c2d32ce31bd36be8c408227dbea974eee8b79d85.tar.lz
cuberite-c2d32ce31bd36be8c408227dbea974eee8b79d85.tar.xz
cuberite-c2d32ce31bd36be8c408227dbea974eee8b79d85.tar.zst
cuberite-c2d32ce31bd36be8c408227dbea974eee8b79d85.zip
-rw-r--r--src/Simulator/FloodyFluidSimulator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Simulator/FloodyFluidSimulator.cpp b/src/Simulator/FloodyFluidSimulator.cpp
index 53eb98c2a..1d638737e 100644
--- a/src/Simulator/FloodyFluidSimulator.cpp
+++ b/src/Simulator/FloodyFluidSimulator.cpp
@@ -58,6 +58,7 @@ void cFloodyFluidSimulator::SimulateBlock(cChunk * a_Chunk, int a_RelX, int a_Re
BLOCKTYPE MyBlock; NIBBLETYPE MyMeta;
a_Chunk->GetBlockTypeMeta(a_RelX, a_RelY, a_RelZ, MyBlock, MyMeta);
+
if (!IsAnyFluidBlock(MyBlock))
{
// Can happen - if a block is scheduled for simulating and gets replaced in the meantime.