summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-06-23 15:23:11 +0200
committerMattes D <github@xoft.cz>2015-06-23 15:23:11 +0200
commit55a5f11b1b1108556520f8ee7a583b0ab17123dc (patch)
tree543d195de21427998872aac1f9bb44796d309563
parentMerge pull request #2280 from SamJBarney/master (diff)
downloadcuberite-55a5f11b1b1108556520f8ee7a583b0ab17123dc.tar
cuberite-55a5f11b1b1108556520f8ee7a583b0ab17123dc.tar.gz
cuberite-55a5f11b1b1108556520f8ee7a583b0ab17123dc.tar.bz2
cuberite-55a5f11b1b1108556520f8ee7a583b0ab17123dc.tar.lz
cuberite-55a5f11b1b1108556520f8ee7a583b0ab17123dc.tar.xz
cuberite-55a5f11b1b1108556520f8ee7a583b0ab17123dc.tar.zst
cuberite-55a5f11b1b1108556520f8ee7a583b0ab17123dc.zip
-rw-r--r--src/Items/ItemDye.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemDye.h b/src/Items/ItemDye.h
index 273af826a..c2635bcb6 100644
--- a/src/Items/ItemDye.h
+++ b/src/Items/ItemDye.h
@@ -27,7 +27,7 @@ public:
) override
{
// Handle growing the plants:
- if (a_Item.m_ItemDamage == E_META_DYE_WHITE)
+ if ((a_Item.m_ItemDamage == E_META_DYE_WHITE) && (a_BlockFace != BLOCK_FACE_NONE))
{
if (a_World->GrowRipePlant(a_BlockX, a_BlockY, a_BlockZ, true))
{