summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockSugarcane.h
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2018-01-05 13:49:08 +0100
committerpeterbell10 <peterbell10@live.co.uk>2018-01-05 13:49:08 +0100
commita2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d (patch)
tree8b49de75df06d41ac32b04adc7ba315fec91b075 /src/Blocks/BlockSugarcane.h
parentItem durability loss now depends on the item used. (#4123) (diff)
downloadcuberite-a2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d.tar
cuberite-a2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d.tar.gz
cuberite-a2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d.tar.bz2
cuberite-a2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d.tar.lz
cuberite-a2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d.tar.xz
cuberite-a2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d.tar.zst
cuberite-a2de7c2bb1f671ce0b467d9af1b82c4e1ce3ac8d.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockSugarcane.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockSugarcane.h b/src/Blocks/BlockSugarcane.h
index 7e2a0c0a5..1322987f5 100644
--- a/src/Blocks/BlockSugarcane.h
+++ b/src/Blocks/BlockSugarcane.h
@@ -56,7 +56,7 @@ public:
// Too close to the edge, cannot simulate
return true;
}
- if (IsBlockWater(BlockType))
+ if (IsBlockWater(BlockType) || (BlockType == E_BLOCK_FROSTED_ICE))
{
return true;
}