clean tnt/init.lua (removed merge comment by git)
This commit is contained in:
parent
e14809616d
commit
0d9cc71396
@ -235,16 +235,11 @@ minetest.register_node("tnt:tnt", {
|
|||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_punch = function(pos, node, puncher)
|
on_punch = function(pos, node, puncher)
|
||||||
if puncher:get_wielded_item():get_name() == "default:torch" then
|
if puncher:get_wielded_item():get_name() == "default:torch" then
|
||||||
<<<<<<< HEAD
|
|
||||||
if(minetest.check_player_privs(puncher:get_player_name(), {trusted_player=true})) then
|
if(minetest.check_player_privs(puncher:get_player_name(), {trusted_player=true})) then
|
||||||
minetest.sound_play("tnt_ignite", {pos=pos})
|
minetest.sound_play("tnt_ignite", {pos=pos})
|
||||||
minetest.set_node(pos, {name="tnt:tnt_burning"})
|
minetest.set_node(pos, {name="tnt:tnt_burning"})
|
||||||
minetest.get_node_timer(pos):start(4)
|
minetest.get_node_timer(pos):start(4)
|
||||||
end
|
end
|
||||||
=======
|
|
||||||
minetest.sound_play("tnt_ignite", {pos=pos})
|
|
||||||
minetest.set_node(pos, {name="tnt:tnt_burning"})
|
|
||||||
>>>>>>> dfee51c21e1131c9c80fc7382b000954962f8b49
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
on_blast = function(pos, intensity)
|
on_blast = function(pos, intensity)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user