fork update #10

Merged
chmodsayshello merged 220 commits from VoxeLibre/VoxeLibre:master into master 2023-06-04 12:44:03 +02:00
1 changed files with 0 additions and 7 deletions
Showing only changes of commit 80cde37e65 - Show all commits

View File

@ -179,9 +179,7 @@ local function beacon_blockcheck(pos)
end
local function is_obstructed(pos) --also removes beacon beam if true
for y=pos.y+1, pos.y+100 do
local nodename = minetest.get_node({x=pos.x,y=y, z = pos.z}).name
if nodename ~= "mcl_core:bedrock" and nodename ~= "air" and nodename ~= "mcl_core:void" and nodename ~= "ignore" then --ignore means not loaded, let's just assume that's air
if nodename ~="mcl_beacons:beacon_beam" then
@ -359,10 +357,6 @@ function register_beaconfuel(itemstring)
table.insert(beacon_fuellist, itemstring)
end
local timer = 0
minetest.register_abm{
label="update beacon beam",
nodenames = {"mcl_beacons:beacon_beam"},
@ -386,7 +380,6 @@ minetest.register_abm{
end,
}
minetest.register_abm{
label="apply beacon effects to players",
nodenames = {"mcl_beacons:beacon"},