summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-14 01:30:40 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-15 03:44:39 +0100
commitde76503d5c87fd7782b0aa3bbda9bdd997ad7fa8 (patch)
tree0f58be6c2883a9c0e258cc410ad04885b8164451 /src/Simulator
parentProperly deprecate more XYZ parameter'd functions (#5147) (diff)
downloadcuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.gz
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.bz2
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.lz
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.xz
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.tar.zst
cuberite-de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/FloodyFluidSimulator.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Simulator/FloodyFluidSimulator.cpp b/src/Simulator/FloodyFluidSimulator.cpp
index ff611bbc3..428c0dbc1 100644
--- a/src/Simulator/FloodyFluidSimulator.cpp
+++ b/src/Simulator/FloodyFluidSimulator.cpp
@@ -299,10 +299,7 @@ void cFloodyFluidSimulator::SpreadToNeighbor(cChunk * a_NearChunk, int a_RelX, i
// Wash away the block there, if possible:
if (CanWashAway(BlockType))
{
- if (cBlockHandler::For(BlockType).DoesDropOnUnsuitable())
- {
- m_World.DropBlockAsPickups(absPos, nullptr, nullptr);
- }
+ m_World.DropBlockAsPickups(absPos, nullptr, nullptr);
} // if (CanWashAway)
// Spread: