1
0
Fork 0

Fix TNT texture names

This commit is contained in:
Wuzzy 2017-01-26 11:27:20 +01:00
parent 5722535e07
commit 1828a54374
2 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@ minetest.register_tool("default:flint_and_steel", {
}, },
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)
if pointed_thing.type == "node" then 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) tnt.ignite(pointed_thing.under)
else else
set_fire(pointed_thing) set_fire(pointed_thing)

View File

@ -72,7 +72,7 @@ local TNT = {
function TNT:on_activate(staticdata) function TNT:on_activate(staticdata)
self.object:setvelocity({x=0, y=4, z=0}) self.object:setvelocity({x=0, y=4, z=0})
self.object:setacceleration({x=0, y=-10, 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 end
function TNT:on_step(dtime) function TNT:on_step(dtime)