summaryrefslogtreecommitdiffstats
path: root/src/CraftingRecipes.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-04 23:25:33 +0100
committerMattes D <github@xoft.cz>2014-12-04 23:25:33 +0100
commitb7820256a74964d28f69ac48a4f92b7a9f864ca4 (patch)
treeb20b7406d38eefde5e942148992d2072b42c5584 /src/CraftingRecipes.cpp
parentMerge pull request #1638 from p-mcgowan/cactiNoLongerSpawnOnBeaches (diff)
parentFixed the CRAFTING_NO_RECIPE hook call. (diff)
downloadcuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.gz
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.bz2
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.lz
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.xz
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.zst
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.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)