Hoe: Allow grass paths to be tilled
This commit is contained in:
parent
a713b568e1
commit
f860084092
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user