1
0
Fork 0

Fix warnings in mcl_bells and mcl_beds

This commit is contained in:
Lizzy Fleckenstein 2022-05-25 19:37:36 +02:00
parent e2fc41cf51
commit 569288b782
Signed by untrusted user: LizzyFleckenstein03
GPG Key ID: 06927A5199D6C9B2
2 changed files with 5 additions and 2 deletions

View File

@ -57,6 +57,7 @@ for i=0,4 do
groups = {pickaxey=1, material_stone=1},
_mcl_hardness = 22.5,
sounds= mcl_sounds.node_sound_stone_defaults(),
use_texture_alpha = "blend",
})
mesecon.register_mvps_stopper("mcl_beds:respawn_anchor")
else
@ -79,7 +80,8 @@ for i=0,4 do
{items = {"mcl_beds:respawn_anchor"}},
}
},
light_source = (4 * i) - 1
light_source = math.min((4 * i) - 1, minetest.LIGHT_MAX),
use_texture_alpha = "blend",
})
mesecon.register_mvps_stopper("mcl_beds:respawn_anchor_charged_"..i)
end

View File

@ -38,6 +38,7 @@ minetest.register_node("mcl_bells:bell", {
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
on_rightclick = mcl_bells.ring_once,
use_texture_alpha = "clip",
})
if has_mcl_wip then