diff --git a/src/Items/ItemPickaxe.h b/src/Items/ItemPickaxe.h index 6e8452cd9..99c0c9c9a 100644 --- a/src/Items/ItemPickaxe.h +++ b/src/Items/ItemPickaxe.h @@ -109,7 +109,7 @@ public: } - virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) + virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override { if (!IsBlockMaterialIron(a_Block) && !IsBlockMaterialAnvil(a_Block) && !IsBlockMaterialRock(a_Block)) { diff --git a/src/Items/ItemShears.h b/src/Items/ItemShears.h index 745432ca0..db5e10c7e 100644 --- a/src/Items/ItemShears.h +++ b/src/Items/ItemShears.h @@ -93,7 +93,7 @@ public: - virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) + virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override { if (IsBlocksWeb(a_Block) || IsBlockMaterialLeaves(a_Block)) { diff --git a/src/Items/ItemShovel.h b/src/Items/ItemShovel.h index e5aae26a7..ba5fbb48e 100644 --- a/src/Items/ItemShovel.h +++ b/src/Items/ItemShovel.h @@ -59,7 +59,7 @@ public: return false; } - virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) + virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override { switch (a_Block) { diff --git a/src/Items/ItemSword.h b/src/Items/ItemSword.h index 26372cc40..46c88b49d 100644 --- a/src/Items/ItemSword.h +++ b/src/Items/ItemSword.h @@ -59,7 +59,7 @@ public: - virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) + virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override { if (a_Block == E_BLOCK_COBWEB) {