Skip to content
Snippets Groups Projects
Commit 0d9cc713 authored by Milan's avatar Milan
Browse files

clean tnt/init.lua (removed merge comment by git)

parent e1480961
No related branches found
No related tags found
No related merge requests found
......@@ -235,16 +235,11 @@ minetest.register_node("tnt:tnt", {
sounds = default.node_sound_wood_defaults(),
on_punch = function(pos, node, puncher)
if puncher:get_wielded_item():get_name() == "default:torch" then
<<<<<<< HEAD
if(minetest.check_player_privs(puncher:get_player_name(), {trusted_player=true})) then
minetest.sound_play("tnt_ignite", {pos=pos})
minetest.set_node(pos, {name="tnt:tnt_burning"})
minetest.get_node_timer(pos):start(4)
end
=======
minetest.sound_play("tnt_ignite", {pos=pos})
minetest.set_node(pos, {name="tnt:tnt_burning"})
>>>>>>> dfee51c21e1131c9c80fc7382b000954962f8b49
end
end,
on_blast = function(pos, intensity)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment