diff options
Diffstat (limited to 'src/Items/ItemSword.h')
-rw-r--r-- | src/Items/ItemSword.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Items/ItemSword.h b/src/Items/ItemSword.h index 8fd70bd7b..1a17023ef 100644 --- a/src/Items/ItemSword.h +++ b/src/Items/ItemSword.h @@ -22,7 +22,11 @@ public: virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override { - return (a_BlockType == E_BLOCK_COBWEB); + if (a_BlockType == E_BLOCK_COBWEB) + { + return true; + } + return super::CanHarvestBlock(a_BlockType); } |