mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Fix invalid global call in mcl_chests LBM (#4667)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4667 Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land> Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com> Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
This commit is contained in:
parent
d264ba70d8
commit
9cb4f51468
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ minetest.register_lbm({
|
||||||
local node_name = node.name
|
local node_name = node.name
|
||||||
node.name = node_name .. "_small"
|
node.name = node_name .. "_small"
|
||||||
minetest.swap_node(pos, node)
|
minetest.swap_node(pos, node)
|
||||||
select_and_spawn_entity(pos, node)
|
mcl_chests.select_and_spawn_entity(pos, node)
|
||||||
if node_name == "mcl_chests:trapped_chest_on" then
|
if node_name == "mcl_chests:trapped_chest_on" then
|
||||||
minetest.log("action", "[mcl_chests] Disabled active trapped chest on load: " .. minetest.pos_to_string(pos))
|
minetest.log("action", "[mcl_chests] Disabled active trapped chest on load: " .. minetest.pos_to_string(pos))
|
||||||
mcl_chests.chest_update_after_close(pos)
|
mcl_chests.chest_update_after_close(pos)
|
||||||
|
|
Loading…
Reference in a new issue