From 0958e167e89d2b3289c01905ebb8897e6bc86c43 Mon Sep 17 00:00:00 2001 From: Julian Laubstein Date: Tue, 11 Aug 2015 22:48:55 +0200 Subject: Updated APIDump to follow the namechange --- MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua') diff --git a/MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua b/MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua index b404e0e73..5a5347310 100644 --- a/MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua +++ b/MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua @@ -19,13 +19,13 @@ return { { Name = "Player", Type = "{{cPlayer}}", Notes = "The player who has changed their crafting grid contents" }, { Name = "Grid", Type = "{{cCraftingGrid}}", Notes = "The new crafting grid contents" }, - { Name = "Recipe", Type = "{{cCraftingRecipe}}", Notes = "The recipe that MCServer will use. Modify this object to change the recipe" }, + { Name = "Recipe", Type = "{{cCraftingRecipe}}", Notes = "The recipe that Cuberite will use. Modify this object to change the recipe" }, }, Returns = [[ If the function returns false or no value, other plugins' callbacks are called and then MCServer searches the built-in recipes. The Recipe output parameter is ignored in this case.

- If the function returns true, no other callbacks are called for this event and MCServer uses the + If the function returns true, no other callbacks are called for this event and Cuberite uses the recipe stored in the Recipe output parameter. ]], }, -- HOOK_PRE_CRAFTING -- cgit v1.2.3