Node: fix on_punch annotation
This commit is contained in:
@@ -103,7 +103,7 @@ Callbacks.can_dig = nil
|
||||
---* `node`: node being hit
|
||||
---* `puncher`: ObjectRef of punch
|
||||
---* `pointed_thing`: Vector of the direction of the gaze of the person who placed the block
|
||||
---@type fun(pos:MapVector, node:NodeTable, puncher:Player|ObjectRef|nil, pointed_thing:pointed_thing)?
|
||||
---@type fun(pos:MapVector, node:NodeTable, puncher:Player|ObjectRef, pointed_thing:pointed_thing)?
|
||||
Callbacks.on_punch = nil
|
||||
|
||||
---Called when clicker (an ObjectRef) used the 'place/build' key
|
||||
|
||||
Reference in New Issue
Block a user