forked from MineClone5/MineClone5
Remove backward compatible names in explosion info
Appears like they were not used anywhere.
This commit is contained in:
parent
d5ea06bb47
commit
5972322639
|
@ -441,10 +441,6 @@ function mcl_explosions.explode(pos, strength, info, puncher)
|
||||||
info.max_blast_resistance = INDESTRUCT_BLASTRES
|
info.max_blast_resistance = INDESTRUCT_BLASTRES
|
||||||
end
|
end
|
||||||
|
|
||||||
-- For backwards compatibility
|
|
||||||
if info.no_particle then info.particles = false end
|
|
||||||
if info.no_sound then info.sound = false end
|
|
||||||
|
|
||||||
-- Dont do drops in creative mode
|
-- Dont do drops in creative mode
|
||||||
if minetest.is_creative_enabled("") then
|
if minetest.is_creative_enabled("") then
|
||||||
info.drop_chance = 0
|
info.drop_chance = 0
|
||||||
|
|
Loading…
Reference in New Issue