diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-05-05 11:58:21 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-05-08 06:30:54 +0200 |
commit | 41bfb22834f0cd13166914b35d4616f21f3c99df (patch) | |
tree | edb3ed8e3ef8b0258d4522a2f3202cc9aa09521d /src/BrewingRecipes.h | |
parent | Adjusted RipeMeta for off by one error (#3691) (diff) | |
download | cuberite-41bfb22834f0cd13166914b35d4616f21f3c99df.tar cuberite-41bfb22834f0cd13166914b35d4616f21f3c99df.tar.gz cuberite-41bfb22834f0cd13166914b35d4616f21f3c99df.tar.bz2 cuberite-41bfb22834f0cd13166914b35d4616f21f3c99df.tar.lz cuberite-41bfb22834f0cd13166914b35d4616f21f3c99df.tar.xz cuberite-41bfb22834f0cd13166914b35d4616f21f3c99df.tar.zst cuberite-41bfb22834f0cd13166914b35d4616f21f3c99df.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BrewingRecipes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/BrewingRecipes.h b/src/BrewingRecipes.h index 82fb0b822..f42384896 100644 --- a/src/BrewingRecipes.h +++ b/src/BrewingRecipes.h @@ -39,7 +39,10 @@ public: bool IsIngredient(const cItem & a_Ingredient) const; /** Returns true if the item is a bottle / potion, false if not. */ - bool IsBottle(const cItem & a_Bottle) const; + bool IsBottle(const cItem & a_Item) const; + + /** Returns true if the item is the fuel, false if not. */ + bool IsFuel(const cItem & a_Item) const; private: void ClearRecipes(void); |