From 7960d142ca3e28e0e4550faf131398899dca90dc Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Fri, 7 Apr 2017 14:31:44 +0200 Subject: APIDoc: Corrected a few links --- Server/Plugins/APIDump/Hooks/OnBrewingCompleted.lua | 4 ++-- Server/Plugins/APIDump/Hooks/OnBrewingCompleting.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Server/Plugins/APIDump/Hooks') 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.

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, -- cgit v1.2.3