From 4d52c0d9c6c4014dd7f122905df483f6f078115f Mon Sep 17 00:00:00 2001 From: chmodsayshello Date: Sun, 31 Jul 2022 12:34:23 +0000 Subject: [PATCH] glass no longer has to be right on top of the beacon --- mods/ITEMS/mcl_beacons/init.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mods/ITEMS/mcl_beacons/init.lua b/mods/ITEMS/mcl_beacons/init.lua index 7f909edd0..b23c55471 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