glass no longer has to be right on top of the beacon
This commit is contained in:
parent
1830ca8815
commit
4d52c0d9c6
|
@ -279,10 +279,8 @@ minetest.register_node("mcl_beacons:beacon", {
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if y == pos.y+1 then
|
if minetest.get_item_group(node.name, "glass") ~= 0 then
|
||||||
if minetest.get_item_group(node.name, "glass") ~= 0 then
|
beam_palette_index = get_beacon_beam(node.name)
|
||||||
beam_palette_index = get_beacon_beam(node.name)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if node.name == "air" then
|
if node.name == "air" then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user