From 022fa1d7949a0b49292c976c41d88db22eb49876 Mon Sep 17 00:00:00 2001 From: chmodsayshello Date: Tue, 26 Jul 2022 11:07:45 +0200 Subject: [PATCH] remove last beam completly before placing a new one --- mods/ITEMS/mcl_beacons/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_beacons/init.lua b/mods/ITEMS/mcl_beacons/init.lua index 9b4774fdf..cb349839d 100644 --- a/mods/ITEMS/mcl_beacons/init.lua +++ b/mods/ITEMS/mcl_beacons/init.lua @@ -271,7 +271,7 @@ minetest.register_node("mcl_beacons:beacon", { inv:set_stack("input",1,input) local beam_itemstring = "mcl_beacons:beacon_beam_e8e3e3" - + remove_beacon_beam(pos) for y = pos.y +1, pos.y + 401 do local node = minetest.get_node({x=pos.x,y=y,z=pos.z}) if node.name == ignore then