From 3705be24d713598744ef5c2a7c99e05994c7bc89 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Fri, 26 Apr 2024 11:14:21 +0000 Subject: [PATCH] Fix 'Undeclared global variable' warning --- mods/ITEMS/mcl_hoppers/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_hoppers/init.lua b/mods/ITEMS/mcl_hoppers/init.lua index 1b8e7d299..e55a458cf 100644 --- a/mods/ITEMS/mcl_hoppers/init.lua +++ b/mods/ITEMS/mcl_hoppers/init.lua @@ -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_def = minetest.registered_nodes[dst_name] 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 mcl_util.hopper_push(pos, dst_pos)