mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Merge pull request 'Fix warnings in mcl_bells and mcl_beds' (#2243) from EliasFleckenstein03/MineClone2:warn into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2243
This commit is contained in:
commit
d3afccad64
@ -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"}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user