diff options
author | worktycho <work.tycho@gmail.com> | 2015-06-23 18:10:49 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-06-23 18:10:49 +0200 |
commit | ccd290bc724b9306ccfc66dc552ff31fa99154c5 (patch) | |
tree | b5068b80007fdfddc43c56c7cb0a0543f7776c16 /src/Items | |
parent | Merge pull request #2280 from SamJBarney/master (diff) | |
parent | Fixed melon metadata when growing from stem. (diff) | |
download | cuberite-ccd290bc724b9306ccfc66dc552ff31fa99154c5.tar cuberite-ccd290bc724b9306ccfc66dc552ff31fa99154c5.tar.gz cuberite-ccd290bc724b9306ccfc66dc552ff31fa99154c5.tar.bz2 cuberite-ccd290bc724b9306ccfc66dc552ff31fa99154c5.tar.lz cuberite-ccd290bc724b9306ccfc66dc552ff31fa99154c5.tar.xz cuberite-ccd290bc724b9306ccfc66dc552ff31fa99154c5.tar.zst cuberite-ccd290bc724b9306ccfc66dc552ff31fa99154c5.zip |
Diffstat (limited to '')
-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)) { |