Merge pull request #3430 from cuberite/Overrides
Added missing "override" specifier.
This commit is contained in:
commit
7e15912a8b
@ -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))
|
||||
{
|
||||
|
@ -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))
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block)
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override
|
||||
{
|
||||
switch (a_Block)
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
|
||||
|
||||
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block)
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override
|
||||
{
|
||||
if (a_Block == E_BLOCK_COBWEB)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user