From 9b2ad5a9ef09bb0d41912631956462a89fe6e219 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Mon, 9 Sep 2024 07:02:21 -0500 Subject: [PATCH] Remove unnecessary vectory copy --- mods/CORE/mcl_util/nodes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/CORE/mcl_util/nodes.lua b/mods/CORE/mcl_util/nodes.lua index f7c650384..5be9b2f29 100644 --- a/mods/CORE/mcl_util/nodes.lua +++ b/mods/CORE/mcl_util/nodes.lua @@ -275,12 +275,12 @@ function mcl_util.bypass_buildable_to(func) end -- Place above pointed node - local place_to = vector.copy(above) + local place_to = above -- If node under is buildable_to, check for callback result and place into it instead if olddef_under.buildable_to and not func(oldnode_under.name) then log("info", "node under is buildable to") - place_to = vector.copy(under) + place_to = under end if minetest.is_protected(place_to, playername) then