mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
glass no longer has to be right on top of the beacon
This commit is contained in:
parent
1830ca8815
commit
4d52c0d9c6
1 changed files with 2 additions and 4 deletions
|
@ -279,11 +279,9 @@ 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
|
||||
end
|
||||
|
||||
if node.name == "air" then
|
||||
minetest.set_node({x=pos.x,y=y,z=pos.z},{name="mcl_beacons:beacon_beam",param2=beam_palette_index})
|
||||
|
|
Loading…
Reference in a new issue