summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-13 16:44:22 +0100
committerGitHub <noreply@github.com>2016-11-13 16:44:22 +0100
commit7e15912a8b5e0abf21c0e8b4d2a7b0574d3af5f7 (patch)
treeb2edc05ea02afe3a21f4a7f775d2f14b9ca95c3e /src/Items
parentAdd Lua API export for titles. (#3408) (diff)
parentAdded missing "override" specifier. (diff)
downloadcuberite-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 '')
-rw-r--r--src/Items/ItemPickaxe.h2
-rw-r--r--src/Items/ItemShears.h2
-rw-r--r--src/Items/ItemShovel.h2
-rw-r--r--src/Items/ItemSword.h2
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)
{