Fix TNT texture names
This commit is contained in:
parent
5722535e07
commit
1828a54374
|
@ -328,7 +328,7 @@ minetest.register_tool("default:flint_and_steel", {
|
|||
},
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
if pointed_thing.type == "node" then
|
||||
if minetest.get_node(pointed_thing.under).name == "tnt:tnt" then
|
||||
if minetest.get_node(pointed_thing.under).name == "mcl_tnt:tnt" then
|
||||
tnt.ignite(pointed_thing.under)
|
||||
else
|
||||
set_fire(pointed_thing)
|
||||
|
|
|
@ -72,7 +72,7 @@ local TNT = {
|
|||
function TNT:on_activate(staticdata)
|
||||
self.object:setvelocity({x=0, y=4, z=0})
|
||||
self.object:setacceleration({x=0, y=-10, z=0})
|
||||
self.object:settexturemod("^tnt_blink.png")
|
||||
self.object:settexturemod("^mcl_tnt_blink.png")
|
||||
end
|
||||
|
||||
function TNT:on_step(dtime)
|
||||
|
|
Loading…
Reference in New Issue
Block a user