mods - fix miscpelled line of conditional on nodes

This commit is contained in:
mckaygerhard 2024-04-23 13:15:29 -04:00
parent 6ed6ce1317
commit b2b66a6fa7

View File

@ -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