From f860084092134b4765113df4f737638963390259 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Mon, 13 Dec 2021 23:32:02 -0800 Subject: [PATCH] Hoe: Allow grass paths to be tilled --- src/Items/ItemHoe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Items/ItemHoe.h b/src/Items/ItemHoe.h index 2bca5f5ca..d0157be50 100644 --- a/src/Items/ItemHoe.h +++ b/src/Items/ItemHoe.h @@ -43,11 +43,11 @@ public: return false; } - // Can only transform dirt or grass blocks: + // Can only transform dirt, grass, or grass path blocks: BLOCKTYPE BlockType; NIBBLETYPE BlockMeta; a_World->GetBlockTypeMeta(a_ClickedBlockPos, BlockType, BlockMeta); - if ((BlockType != E_BLOCK_DIRT) && (BlockType != E_BLOCK_GRASS)) + if ((BlockType != E_BLOCK_DIRT) && (BlockType != E_BLOCK_GRASS) && (BlockType != E_BLOCK_GRASS_PATH)) { return false; }