Fix invalid migration of small chests

This commit is contained in:
Elias Fleckenstein 2021-01-03 19:05:07 +01:00
parent 2d9ec679c0
commit 84cd8195c6
1 changed files with 1 additions and 1 deletions

View File

@ -1248,7 +1248,7 @@ minetest.register_lbm({
action = function(pos, node)
local node_name = node.name
node.name = node_name .. "_small"
minetest.set_node(pos, node)
minetest.swap_node(pos, node)
select_and_spawn_entity(pos, node)
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))