summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2018-08-03 10:11:56 +0200
committerGitHub <noreply@github.com>2018-08-03 10:11:56 +0200
commitbe9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261 (patch)
tree278b7d29178106e17570967083804008956c7cb8 /Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua
parentExperience orb (#4259) (diff)
downloadcuberite-be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261.tar
cuberite-be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261.tar.gz
cuberite-be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261.tar.bz2
cuberite-be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261.tar.lz
cuberite-be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261.tar.xz
cuberite-be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261.tar.zst
cuberite-be9d7f0d09e3bc9cf8c4b16deac03f6d7fc66261.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua2
1 files changed, 0 insertions, 2 deletions
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