Remove backward compatible names in explosion info
Appears like they were not used anywhere.objects
parent
d5ea06bb47
commit
5972322639
|
@ -441,10 +441,6 @@ function mcl_explosions.explode(pos, strength, info, puncher)
|
|||
info.max_blast_resistance = INDESTRUCT_BLASTRES
|
||||
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
|
||||
if minetest.is_creative_enabled("") then
|
||||
info.drop_chance = 0
|
||||
|
|
Loading…
Reference in New Issue