summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSword.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items/ItemSword.h')
-rw-r--r--src/Items/ItemSword.h6
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);
}