summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
Diffstat (limited to 'Server/Plugins')
-rw-r--r--Server/Plugins/APIDump/Hooks/OnPlayerUsedItem.lua2
-rw-r--r--Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua2
2 files changed, 0 insertions, 4 deletions
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
diff --git a/Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua b/Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua
index 9b2949f93..cc603bf12 100644
--- a/Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua
+++ b/Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.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 and then Cuberite