diff options
author | Bond-009 <bond.009@outlook.com> | 2018-01-05 15:32:30 +0100 |
---|---|---|
committer | peterbell10 <peterbell10@live.co.uk> | 2018-01-05 15:32:30 +0100 |
commit | d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6 (patch) | |
tree | af699e142df69e1b83921bcc7bf319f4686be5ec /src/Item.cpp | |
parent | Sugar cane can be near frosted ice (#4133) (diff) | |
download | cuberite-d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6.tar cuberite-d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6.tar.gz cuberite-d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6.tar.bz2 cuberite-d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6.tar.lz cuberite-d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6.tar.xz cuberite-d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6.tar.zst cuberite-d7de2dccf0d0cd50588f5b43773d4e7fc5bd94a6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Item.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Item.cpp b/src/Item.cpp index b3c906037..5d486fdab 100644 --- a/src/Item.cpp +++ b/src/Item.cpp @@ -55,6 +55,7 @@ short cItem::GetMaxDamage(void) const case E_ITEM_DIAMOND_SHOVEL: return 1561; case E_ITEM_DIAMOND_SWORD: return 1561; case E_ITEM_FLINT_AND_STEEL: return 64; + case E_ITEM_FISHING_ROD: return 65; case E_ITEM_GOLD_AXE: return 32; case E_ITEM_GOLD_BOOTS: return 92; case E_ITEM_GOLD_CHESTPLATE: return 113; @@ -88,8 +89,9 @@ short cItem::GetMaxDamage(void) const case E_ITEM_WOODEN_PICKAXE: return 59; case E_ITEM_WOODEN_SHOVEL: return 59; case E_ITEM_WOODEN_SWORD: return 59; + + default: return 0; } - return 0; } |