1
0

APIDump: Added missing params to OnPlayerRightClick() hook.

This commit is contained in:
madmaxoft 2013-12-01 16:34:04 +01:00
parent 1c384ec1d7
commit e07c54f7f8

View File

@ -21,6 +21,9 @@ return
{ Name = "BlockY", Type = "number", Notes = "Y-coord of the block" }, { Name = "BlockY", Type = "number", Notes = "Y-coord of the block" },
{ Name = "BlockZ", Type = "number", Notes = "Z-coord of the block" }, { Name = "BlockZ", Type = "number", Notes = "Z-coord of the block" },
{ Name = "BlockFace", Type = "number", Notes = "Face of the block upon which the player interacted. One of the BLOCK_FACE_ constants" }, { Name = "BlockFace", Type = "number", Notes = "Face of the block upon which the player interacted. One of the BLOCK_FACE_ constants" },
{ Name = "CursorX", Type = "number", Notes = "X-coord of the mouse crosshair on the block" },
{ Name = "CursorY", Type = "number", Notes = "Y-coord of the mouse crosshair on the block" },
{ Name = "CursorZ", Type = "number", Notes = "Z-coord of the mouse crosshair on the block" },
}, },
Returns = [[ Returns = [[
If the function returns false or no value, MCServer calls other plugins' callbacks and finally sends If the function returns false or no value, MCServer calls other plugins' callbacks and finally sends