mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
add 'normal' argument to on_use_on_block event
This commit is contained in:
parent
0f26d7c93a
commit
d6696b54cb
6 changed files with 12 additions and 13 deletions
|
|
@ -51,7 +51,7 @@ function on_use(playerid: int)
|
|||
Called on RMB click out of a block.
|
||||
|
||||
```lua
|
||||
function on_use_on_block(x: int, y: int, z: int, playerid: int)
|
||||
function on_use_on_block(x: int, y: int, z: int, playerid: int, normal: vec3)
|
||||
```
|
||||
|
||||
Called on block RMB click. Prevents block **placing-block** placing if returns **true**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue