mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-18 21:14:11 +02:00
Fix 'Undeclared global variable' warning
This commit is contained in:
parent
681075df5a
commit
3705be24d7
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user