mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
remove empty lines and unneeded code
This commit is contained in:
parent
181cb73e45
commit
80cde37e65
1 changed files with 0 additions and 7 deletions
|
@ -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"},
|
||||
|
|
Loading…
Reference in a new issue