summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemShears.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items/ItemShears.h')
-rw-r--r--src/Items/ItemShears.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/Items/ItemShears.h b/src/Items/ItemShears.h
index 5f8e9e2f1..31016b8ae 100644
--- a/src/Items/ItemShears.h
+++ b/src/Items/ItemShears.h
@@ -9,13 +9,11 @@
-class cItemShearsHandler final:
- public cItemHandler
+class cItemShearsHandler final : public cItemHandler
{
using Super = cItemHandler;
-public:
-
+ public:
using Super::Super;
@@ -69,9 +67,9 @@ public:
{
switch (a_Action)
{
- case dlaAttackEntity: return 0;
- case dlaBreakBlock: return 0;
- case dlaBreakBlockInstant: return 1;
+ case dlaAttackEntity: return 0;
+ case dlaBreakBlock: return 0;
+ case dlaBreakBlockInstant: return 1;
}
UNREACHABLE("Unsupported durability loss action");
}
@@ -95,4 +93,4 @@ public:
return Super::GetBlockBreakingStrength(a_Block);
}
}
-} ;
+};