summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-13 16:21:30 +0100
committerMattes D <github@xoft.cz>2016-11-13 16:22:03 +0100
commitda2ea3c2ffe5a37dc9ea978579af898110d31b22 (patch)
treeb2edc05ea02afe3a21f4a7f775d2f14b9ca95c3e /src
parentAdd Lua API export for titles. (#3408) (diff)
downloadcuberite-da2ea3c2ffe5a37dc9ea978579af898110d31b22.tar
cuberite-da2ea3c2ffe5a37dc9ea978579af898110d31b22.tar.gz
cuberite-da2ea3c2ffe5a37dc9ea978579af898110d31b22.tar.bz2
cuberite-da2ea3c2ffe5a37dc9ea978579af898110d31b22.tar.lz
cuberite-da2ea3c2ffe5a37dc9ea978579af898110d31b22.tar.xz
cuberite-da2ea3c2ffe5a37dc9ea978579af898110d31b22.tar.zst
cuberite-da2ea3c2ffe5a37dc9ea978579af898110d31b22.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)
{