diff options
author | Mattes D <github@xoft.cz> | 2016-11-13 16:44:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-13 16:44:22 +0100 |
commit | 7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7 (patch) | |
tree | b2edc05ea02afe3a21f4a7f775d2f14b9ca95c3e /src | |
parent | Add Lua API export for titles. (#3408) (diff) | |
parent | Added missing "override" specifier. (diff) | |
download | cuberite-7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7.tar cuberite-7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7.tar.gz cuberite-7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7.tar.bz2 cuberite-7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7.tar.lz cuberite-7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7.tar.xz cuberite-7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7.tar.zst cuberite-7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Items/ItemPickaxe.h | 2 | ||||
-rw-r--r-- | src/Items/ItemShears.h | 2 | ||||
-rw-r--r-- | src/Items/ItemShovel.h | 2 | ||||
-rw-r--r-- | src/Items/ItemSword.h | 2 |
4 files changed, 4 insertions, 4 deletions
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) { |