fixed license for tnt mod and changed detonation method
This commit is contained in:
parent
4f8a32144d
commit
bf99cc1d13
@ -4,7 +4,7 @@ By PilzAdam and ShadowNinja
|
||||
Tweaked by Kaadmy, for Pixture
|
||||
|
||||
Adds explodable TNT
|
||||
Place a block of TNT, then click on it with a torch
|
||||
Place a block of TNT, then click on it with flint and steel
|
||||
|
||||
Source license: CC0(original WTFPL)
|
||||
Sound license: CC0(original WTFPL)
|
||||
Source license: WTFPL
|
||||
Asset license: WTFPL
|
||||
|
@ -219,9 +219,7 @@ minetest.register_node(
|
||||
on_punch = function(pos, node, puncher)
|
||||
local itemname = puncher:get_wielded_item():get_name()
|
||||
|
||||
if itemname == "default:torch"
|
||||
or itemname == "default:torch_weak"
|
||||
or itemname == "default:flint_and_steel" then
|
||||
if itemname == "default:flint_and_steel" then
|
||||
burn(pos)
|
||||
end
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user