diff options
author | Mattes D <github@xoft.cz> | 2015-06-23 15:23:11 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-06-23 15:23:11 +0200 |
commit | 55a5f11b1b1108556520f8ee7a583b0ab17123dc (patch) | |
tree | 543d195de21427998872aac1f9bb44796d309563 /src | |
parent | Merge pull request #2280 from SamJBarney/master (diff) | |
download | cuberite-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/Items/ItemDye.h | 2 |
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)) { |