Fix use item doc error (#4279)
The documentation now matches what's passed to lua. Fixes #4194
This commit is contained in:
parent
57690b81a2
commit
be9d7f0d09
@ -30,8 +30,6 @@ return
|
|||||||
{ Name = "CursorX", Type = "number", Notes = "X-coord of the cursor crosshair on the block being clicked" },
|
{ 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 = "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 = "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 = [[
|
Returns = [[
|
||||||
If the function returns false or no value, other plugins' callbacks are called. If the function
|
If the function returns false or no value, other plugins' callbacks are called. If the function
|
||||||
|
@ -30,8 +30,6 @@ return
|
|||||||
{ Name = "CursorX", Type = "number", Notes = "X-coord of the cursor crosshair on the block being clicked" },
|
{ 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 = "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 = "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 = [[
|
Returns = [[
|
||||||
If the function returns false or no value, other plugins' callbacks are called and then Cuberite
|
If the function returns false or no value, other plugins' callbacks are called and then Cuberite
|
||||||
|
Loading…
Reference in New Issue
Block a user