summaryrefslogtreecommitdiffstats
path: root/src/CraftingRecipes.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-04 09:21:57 +0100
committerMattes D <github@xoft.cz>2014-12-04 09:21:57 +0100
commit34807248e269c9fae99ac63b3185f134c4c4fa56 (patch)
tree42baf258b98af8ad37551774b86f53462db3f092 /src/CraftingRecipes.cpp
parentMerge pull request #1646 from p-mcgowan/luaCheckstyleWarnings (diff)
downloadcuberite-34807248e269c9fae99ac63b3185f134c4c4fa56.tar
cuberite-34807248e269c9fae99ac63b3185f134c4c4fa56.tar.gz
cuberite-34807248e269c9fae99ac63b3185f134c4c4fa56.tar.bz2
cuberite-34807248e269c9fae99ac63b3185f134c4c4fa56.tar.lz
cuberite-34807248e269c9fae99ac63b3185f134c4c4fa56.tar.xz
cuberite-34807248e269c9fae99ac63b3185f134c4c4fa56.tar.zst
cuberite-34807248e269c9fae99ac63b3185f134c4c4fa56.zip
Diffstat (limited to 'src/CraftingRecipes.cpp')
-rw-r--r--src/CraftingRecipes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CraftingRecipes.cpp b/src/CraftingRecipes.cpp
index 2c2b02a69..202fb900e 100644
--- a/src/CraftingRecipes.cpp
+++ b/src/CraftingRecipes.cpp
@@ -294,7 +294,7 @@ void cCraftingRecipes::GetRecipe(cPlayer & a_Player, cCraftingGrid & a_CraftingG
if (Recipe.get() == nullptr)
{
// Allow plugins to intercept a no-recipe-found situation:
- cRoot::Get()->GetPluginManager()->CallHookCraftingNoRecipe(a_Player, a_CraftingGrid, &a_Recipe);
+ cRoot::Get()->GetPluginManager()->CallHookCraftingNoRecipe(a_Player, a_CraftingGrid, a_Recipe);
return;
}
for (cRecipeSlots::const_iterator itr = Recipe->m_Ingredients.begin(); itr != Recipe->m_Ingredients.end(); ++itr)