summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-14 22:55:46 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-14 22:55:46 +0200
commitf0187cc8f9922093b1e83687f869b813a8e90930 (patch)
tree3a805415090ebeec8b32fb85a3da9b14bdab4383 /src
parentMerge pull request #1177 from mc-server/ChestFix (diff)
downloadcuberite-f0187cc8f9922093b1e83687f869b813a8e90930.tar
cuberite-f0187cc8f9922093b1e83687f869b813a8e90930.tar.gz
cuberite-f0187cc8f9922093b1e83687f869b813a8e90930.tar.bz2
cuberite-f0187cc8f9922093b1e83687f869b813a8e90930.tar.lz
cuberite-f0187cc8f9922093b1e83687f869b813a8e90930.tar.xz
cuberite-f0187cc8f9922093b1e83687f869b813a8e90930.tar.zst
cuberite-f0187cc8f9922093b1e83687f869b813a8e90930.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemBucket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemBucket.h b/src/Items/ItemBucket.h
index 5529b4e36..84835c021 100644
--- a/src/Items/ItemBucket.h
+++ b/src/Items/ItemBucket.h
@@ -203,7 +203,7 @@ public:
if (a_BlockType != E_BLOCK_AIR)
{
m_ReplacedBlock = a_BlockType;
- if (!cFluidSimulator::CanWashAway(a_BlockType))
+ if (!cFluidSimulator::CanWashAway(a_BlockType) && !IsBlockLiquid(a_BlockType))
{
AddFaceDirection(a_BlockX, a_BlockY, a_BlockZ, (eBlockFace)a_EntryFace); // Was an unwashawayable block, can't overwrite it!
}