diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-23 20:31:58 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-23 20:31:58 +0100 |
commit | 084971424fcc258e6958c464ada3263f5b85a870 (patch) | |
tree | deda85e69f42c1edd48f1dd32c605ad8d4dd7864 /src/Items | |
parent | No Sword Block Destroying in Creative Mode (diff) | |
download | cuberite-084971424fcc258e6958c464ada3263f5b85a870.tar cuberite-084971424fcc258e6958c464ada3263f5b85a870.tar.gz cuberite-084971424fcc258e6958c464ada3263f5b85a870.tar.bz2 cuberite-084971424fcc258e6958c464ada3263f5b85a870.tar.lz cuberite-084971424fcc258e6958c464ada3263f5b85a870.tar.xz cuberite-084971424fcc258e6958c464ada3263f5b85a870.tar.zst cuberite-084971424fcc258e6958c464ada3263f5b85a870.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemSword.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/Items/ItemSword.h b/src/Items/ItemSword.h index 07d121d5c..a7c1d2432 100644 --- a/src/Items/ItemSword.h +++ b/src/Items/ItemSword.h @@ -23,25 +23,6 @@ public: { return (a_BlockType == E_BLOCK_COBWEB); } - - inline static bool IsSword(int id) - { - switch (id) - { - case E_ITEM_WOODEN_SWORD: - case E_ITEM_STONE_SWORD: - case E_ITEM_IRON_SWORD: - case E_ITEM_GOLD_SWORD: - case E_ITEM_DIAMOND_SWORD: - { - return true; - } - default: - { - return false; - } - } - } } ; |