diff options
author | Alexander Harkness <me@bearbin.net> | 2018-01-05 12:28:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 12:28:06 +0100 |
commit | b4aa19f329b06e42eb2591fc488b70dc0df41940 (patch) | |
tree | 5b18f7bde0b3129310d273f63b68151850c43ea7 /src/Items/ItemSword.h | |
parent | Add the fmt library (#4065) (diff) | |
download | cuberite-b4aa19f329b06e42eb2591fc488b70dc0df41940.tar cuberite-b4aa19f329b06e42eb2591fc488b70dc0df41940.tar.gz cuberite-b4aa19f329b06e42eb2591fc488b70dc0df41940.tar.bz2 cuberite-b4aa19f329b06e42eb2591fc488b70dc0df41940.tar.lz cuberite-b4aa19f329b06e42eb2591fc488b70dc0df41940.tar.xz cuberite-b4aa19f329b06e42eb2591fc488b70dc0df41940.tar.zst cuberite-b4aa19f329b06e42eb2591fc488b70dc0df41940.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemSword.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/Items/ItemSword.h b/src/Items/ItemSword.h index 5730691cf..773b84388 100644 --- a/src/Items/ItemSword.h +++ b/src/Items/ItemSword.h @@ -46,13 +46,10 @@ public: { switch (a_Action) { - case dlaAttackEntity: return 1; - case dlaBreakBlock: return 2; + case dlaAttackEntity: return 1; + case dlaBreakBlock: return 2; + case dlaBreakBlockInstant: return 0; } - - #ifndef __clang__ - return 0; - #endif } @@ -83,7 +80,3 @@ public: } } ; - - - - |