Fix 'Undeclared global variable' warning

This commit is contained in:
teknomunk 2024-04-26 11:14:21 +00:00
parent 681075df5a
commit 3705be24d7
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ local function bent_hopper_act(pos, node, active_object_count, active_object_cou
local dst_name = dst_node.name local dst_name = dst_node.name
local dst_def = minetest.registered_nodes[dst_name] local dst_def = minetest.registered_nodes[dst_name]
if dst_def._mcl_hopper_act then if dst_def._mcl_hopper_act then
dst_def._mcl_hopper_act( dst_pos, dst_node, active_object_count, active_count_wider ) dst_def._mcl_hopper_act( dst_pos, dst_node, active_object_count, active_object_count_wider )
end end
mcl_util.hopper_push(pos, dst_pos) mcl_util.hopper_push(pos, dst_pos)