summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Hooks
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-04-07 14:31:44 +0200
committerLukas Pioch <lukas@zgow.de>2017-04-07 21:26:59 +0200
commit7960d142ca3e28e0e4550faf131398899dca90dc (patch)
tree209d6c632e6d265cf04488b6567ca8bb4f32e3cf /Server/Plugins/APIDump/Hooks
parentReplace double grass and large fern with placed block (diff)
downloadcuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.gz
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.bz2
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.lz
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.xz
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.zst
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.zip
Diffstat (limited to 'Server/Plugins/APIDump/Hooks')
-rw-r--r--Server/Plugins/APIDump/Hooks/OnBrewingCompleted.lua4
-rw-r--r--Server/Plugins/APIDump/Hooks/OnBrewingCompleting.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/Server/Plugins/APIDump/Hooks/OnBrewingCompleted.lua b/Server/Plugins/APIDump/Hooks/OnBrewingCompleted.lua
index 316227739..93dbb036c 100644
--- a/Server/Plugins/APIDump/Hooks/OnBrewingCompleted.lua
+++ b/Server/Plugins/APIDump/Hooks/OnBrewingCompleted.lua
@@ -5,14 +5,14 @@ return
CalledWhen = "A brewing process is completed.",
DefaultFnName = "OnBrewingCompleted", -- also used as pagename
Desc = [[
- This hook is called whenever a {{cBrewingstand|brewing stand}} has completed the brewing process.
+ This hook is called whenever a {{cBrewingstandEntity|brewing stand}} has completed the brewing process.
See also the {{OnBrewingCompleting|HOOK_BREWING_COMPLETING}} hook for a similar hook, is called when a
brewing process is completing.
]],
Params =
{
{ Name = "World", Type = "{{cWorld}}", Notes = "World where the brewing stand resides." },
- { Name = "Brewingstand", Type = "{{cBrewingstand}}", Notes = "The brewing stand that completed the brewing process." },
+ { Name = "Brewingstand", Type = "{{cBrewingstandEntity}}", Notes = "The brewing stand that completed the brewing process." },
},
Returns = [[
If the function returns false or no value, Cuberite calls other plugins with this event. If the
diff --git a/Server/Plugins/APIDump/Hooks/OnBrewingCompleting.lua b/Server/Plugins/APIDump/Hooks/OnBrewingCompleting.lua
index 14429c8ff..6e4160d66 100644
--- a/Server/Plugins/APIDump/Hooks/OnBrewingCompleting.lua
+++ b/Server/Plugins/APIDump/Hooks/OnBrewingCompleting.lua
@@ -5,7 +5,7 @@ return
CalledWhen = "A brewing process is completing.",
DefaultFnName = "OnBrewingCompleting", -- also used as pagename
Desc = [[
- This hook is called whenever a {{cBrewingstand|brewing stand}} is completing the brewing process. Plugins may
+ This hook is called whenever a {{cBrewingstandEntity|brewing stand}} is completing the brewing process. Plugins may
refuse the completing of the brewing process.<p>
See also the {{OnBrewingCompleted|HOOK_BREWING_COMPLETED}} hook for a similar hook, is called after the
brewing process has been completed.
@@ -13,7 +13,7 @@ return
Params =
{
{ Name = "World", Type = "{{cWorld}}", Notes = "World where the brewing stand resides." },
- { Name = "Brewingstand", Type = "{{cBrewingstand}}", Notes = "The brewing stand that completes the brewing process." },
+ { Name = "Brewingstand", Type = "{{cBrewingstandEntity}}", Notes = "The brewing stand that completes the brewing process." },
},
Returns = [[
If the function returns false or no value, Cuberite calls other plugins with this event. If the function returns true,