Node: fix on_punch annotation

This commit is contained in:
Van
2026-06-06 22:23:26 +03:00
parent 99b8c1d0b6
commit 21e0b8ec22

View File

@@ -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