diff --git a/mods/ITEMS/mcl_beacons/init.lua b/mods/ITEMS/mcl_beacons/init.lua index 7f909edd0a..b23c55471d 100644 --- a/mods/ITEMS/mcl_beacons/init.lua +++ b/mods/ITEMS/mcl_beacons/init.lua @@ -279,10 +279,8 @@ minetest.register_node("mcl_beacons:beacon", { end - if y == pos.y+1 then - if minetest.get_item_group(node.name, "glass") ~= 0 then - beam_palette_index = get_beacon_beam(node.name) - end + if minetest.get_item_group(node.name, "glass") ~= 0 then + beam_palette_index = get_beacon_beam(node.name) end if node.name == "air" then