diff options
author | Mattes D <github@xoft.cz> | 2015-08-12 08:25:29 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-08-12 08:25:29 +0200 |
commit | d118550a5bdf761cc90ff722ff8dd7391df7285f (patch) | |
tree | 482062f5cdc11520ff0d0496e419524be01f1299 /MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua | |
parent | Merge pull request #2423 from cuberite/JsonCppCheck (diff) | |
parent | Updated APIDump to follow the namechange (diff) | |
download | cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.gz cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.bz2 cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.lz cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.xz cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.tar.zst cuberite-d118550a5bdf761cc90ff722ff8dd7391df7285f.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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.</p> <p> - 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 |