Fix warnings in mcl_bells and mcl_beds

This commit is contained in:
Elias Fleckenstein 2022-05-25 19:37:36 +02:00
parent e2fc41cf51
commit 569288b782
No known key found for this signature in database
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
@ -93,4 +95,4 @@ minetest.register_craft({ --TODO: Please change this crafting recipe once crying
{"mcl_nether:glowstone", "mcl_nether:glowstone", "mcl_nether:glowstone"},
{"mcl_core:obsidian", "mcl_core:obsidian", "mcl_core:obsidian"}
}
})
})

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