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)
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)