diff options
author | archshift <admin@archshift.com> | 2014-06-08 01:32:37 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:20 +0200 |
commit | 2185c72c2ca2d66b238d7d3234c173bd820d32ac (patch) | |
tree | 134bcd0c391bac1624a9adab5e8f9d6425fb9942 /src/Items/ItemMilk.h | |
parent | Implemented milk, added documentation to Pawn.h (diff) | |
download | cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.gz cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.bz2 cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.lz cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.xz cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.zst cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemMilk.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Items/ItemMilk.h b/src/Items/ItemMilk.h index 8569c8cbe..62506a223 100644 --- a/src/Items/ItemMilk.h +++ b/src/Items/ItemMilk.h @@ -11,13 +11,15 @@ public: { } - virtual bool IsDrinkable(void) override + virtual bool IsDrinkable(const cItem * a_Item) override { + UNUSED(a_Item); return true; } virtual bool EatItem(cPlayer * a_Player, cItem * a_Item) override { + UNUSED(a_Item); a_Player->ClearEntityEffects(); a_Player->GetInventory().RemoveOneEquippedItem(); a_Player->GetInventory().AddItem(E_ITEM_BUCKET); |