From 21e0b8ec2270580313fd6c67ccb8caea055d97dd Mon Sep 17 00:00:00 2001 From: Vanic Date: Sat, 6 Jun 2026 22:23:26 +0300 Subject: [PATCH] `Node`: fix `on_punch` annotation --- mods/CORE/Node/src/Node/Callbacks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/Node/src/Node/Callbacks.lua b/mods/CORE/Node/src/Node/Callbacks.lua index aae5f01..d200a46 100644 --- a/mods/CORE/Node/src/Node/Callbacks.lua +++ b/mods/CORE/Node/src/Node/Callbacks.lua @@ -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