From dac97826f7d0c9b9135c1a08c4d5f16b61494bd1 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Wed, 26 Aug 2015 10:58:51 +0200 Subject: Renamed output directory to Server --- MCServer/Plugins/APIDump/Hooks/OnPlayerEating.lua | 27 ----------------------- 1 file changed, 27 deletions(-) delete mode 100644 MCServer/Plugins/APIDump/Hooks/OnPlayerEating.lua (limited to 'MCServer/Plugins/APIDump/Hooks/OnPlayerEating.lua') diff --git a/MCServer/Plugins/APIDump/Hooks/OnPlayerEating.lua b/MCServer/Plugins/APIDump/Hooks/OnPlayerEating.lua deleted file mode 100644 index e77d02a96..000000000 --- a/MCServer/Plugins/APIDump/Hooks/OnPlayerEating.lua +++ /dev/null @@ -1,27 +0,0 @@ -return -{ - HOOK_PLAYER_EATING = - { - CalledWhen = "When the player starts eating", - DefaultFnName = "OnPlayerEating", -- also used as pagename - Desc = [[ - This hook gets called when the {{cPlayer|player}} starts eating, after the server checks that the - player can indeed eat (is not satiated and is holding food). Plugins may still refuse the eating by - returning true. - ]], - Params = - { - { Name = "Player", Type = "{{cPlayer}}", Notes = "The player who started eating" }, - }, - Returns = [[ - If the function returns false or no value, the server calls the next plugin handler, and finally - lets the player eat. If the function returns true, the server doesn't call any more callbacks for - this event and aborts the eating. A "disallow" packet is sent to the client. - ]], - }, -- HOOK_PLAYER_EATING -} - - - - - -- cgit v1.2.3