_on_ignite, +eternal fire when igniting netherrack

This commit is contained in:
Wuzzy 2017-05-09 17:49:38 +02:00
parent bcc185f83f
commit a8dd5f42c4
4 changed files with 34 additions and 9 deletions

View file

@ -54,6 +54,9 @@ minetest.register_node("mcl_tnt:tnt", {
mesecons = {effector = {
action_on = tnt.ignite
}},
_on_ignite = function(pos, player)
tnt.ignite(pos)
end,
sounds = mcl_sounds.node_sound_wood_defaults(),
})