diff options
author | madmaxoft <github@xoft.cz> | 2014-09-03 10:29:10 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-09-03 10:29:10 +0200 |
commit | 1cc65b626462ca3e5aff1619e51450b5d33ff717 (patch) | |
tree | ea2586d669fbb609b3694aea685a21c3eb93cca8 /src/Items/ItemFood.h | |
parent | Quick fix for a preprocessor error with clang on OS X (diff) | |
download | cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.gz cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.bz2 cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.lz cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.xz cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.zst cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemFood.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemFood.h b/src/Items/ItemFood.h index c7e7ef2ca..8bea19fba 100644 --- a/src/Items/ItemFood.h +++ b/src/Items/ItemFood.h @@ -43,16 +43,16 @@ public: case E_ITEM_POISONOUS_POTATO: return FoodInfo(2, 1.2); // Potatoes handled in ItemSeeds case E_ITEM_PUMPKIN_PIE: return FoodInfo(8, 4.8); + case E_ITEM_RED_APPLE: return FoodInfo(4, 2.4); case E_ITEM_RAW_BEEF: return FoodInfo(3, 1.8); case E_ITEM_RAW_CHICKEN: return FoodInfo(2, 1.2); case E_ITEM_RAW_FISH: return FoodInfo(2, 1.2); + case E_ITEM_RAW_MUTTON: return FoodInfo(2, 1.2); case E_ITEM_RAW_PORKCHOP: return FoodInfo(3, 1.8); - case E_ITEM_RAW_MUTTON: return FoodInfo(2, 1.2); - case E_ITEM_RED_APPLE: return FoodInfo(4, 2.4); case E_ITEM_ROTTEN_FLESH: return FoodInfo(4, 0.8); case E_ITEM_SPIDER_EYE: return FoodInfo(2, 3.2); case E_ITEM_STEAK: return FoodInfo(8, 12.8); - case E_ITEM_MUTTON: return FoodInfo(6, 9.6); + case E_ITEM_MUTTON: return FoodInfo(6, 9.6); } LOGWARNING("%s: Unknown food item (%d), returning zero nutrition", __FUNCTION__, m_ItemType); return FoodInfo(0, 0.f); |