From 55cc5076dcd80a619e58f364e04746b33d2835ff Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Sun, 29 May 2022 19:21:36 -0400 Subject: [PATCH] Improve non-VM swap_node_force --- mesecons/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesecons/util.lua b/mesecons/util.lua index c43fcb3..7d93abe 100644 --- a/mesecons/util.lua +++ b/mesecons/util.lua @@ -483,7 +483,7 @@ function mesecon.swap_node_force(pos, name, update_light) else -- This serves to both ensure the mapblock is loaded and also hand us -- the old node table so we can preserve param2. - local node = mesecon.get_node_force(pos) + local node = get_node_load(pos) node.name = name minetest.swap_node(pos, node) end