From be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Fri, 3 Aug 2018 09:11:56 +0100 Subject: Fix use item doc error (#4279) The documentation now matches what's passed to lua. Fixes #4194 --- Server/Plugins/APIDump/Hooks/OnPlayerUsedItem.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'Server/Plugins/APIDump/Hooks/OnPlayerUsedItem.lua') diff --git a/Server/Plugins/APIDump/Hooks/OnPlayerUsedItem.lua b/Server/Plugins/APIDump/Hooks/OnPlayerUsedItem.lua index 6089928e2..bef1105c9 100644 --- a/Server/Plugins/APIDump/Hooks/OnPlayerUsedItem.lua +++ b/Server/Plugins/APIDump/Hooks/OnPlayerUsedItem.lua @@ -30,8 +30,6 @@ return { Name = "CursorX", Type = "number", Notes = "X-coord of the cursor crosshair on the block being clicked" }, { Name = "CursorY", Type = "number", Notes = "Y-coord of the cursor crosshair on the block being clicked" }, { Name = "CursorZ", Type = "number", Notes = "Z-coord of the cursor crosshair on the block being clicked" }, - { Name = "BlockType", Type = "number", Notes = "Block type of the clicked block" }, - { Name = "BlockMeta", Type = "number", Notes = "Block meta of the clicked block" }, }, Returns = [[ If the function returns false or no value, other plugins' callbacks are called. If the function -- cgit v1.2.3