diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-14 01:30:40 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-15 03:44:39 +0100 |
commit | de76503d5c87fd7782b0aa3bbda9bdd997ad7fa8 (patch) | |
tree | 0f58be6c2883a9c0e258cc410ad04885b8164451 /src/Simulator | |
parent | Properly deprecate more XYZ parameter'd functions (#5147) (diff) | |
download | cuberite-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.cpp | 5 |
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: |