summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-08-11 22:48:55 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-08-11 22:48:55 +0200
commit0958e167e89d2b3289c01905ebb8897e6bc86c43 (patch)
tree482062f5cdc11520ff0d0496e419524be01f1299 /MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua
parentMerge pull request #2423 from cuberite/JsonCppCheck (diff)
downloadcuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.gz
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.bz2
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.lz
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.xz
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.tar.zst
cuberite-0958e167e89d2b3289c01905ebb8897e6bc86c43.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnPreCrafting.lua4
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