From b2b66a6fa76749212d95b919bc5db9381857100f Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Tue, 23 Apr 2024 13:15:29 -0400 Subject: [PATCH] mods - fix miscpelled line of conditional on nodes --- mods/default/nodes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 497176d..2367000 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -1891,7 +1891,7 @@ function default.register_chest(name, d) if clicker then if not default.can_interact_with_node(clicker, pos) then return itemstack end end - if not clicker return end + if not clicker then return end minetest.sound_play(def.sound_open, {gain = 0.3, pos = pos, max_hear_distance = 10}) if not chest_lid_obstructed(pos) then