From 1828a54374d756bdd381999b0ec7b3ce5b9de63e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 26 Jan 2017 11:27:20 +0100 Subject: [PATCH] Fix TNT texture names --- mods/default/tools.lua | 2 +- mods/mcl_tnt/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/default/tools.lua b/mods/default/tools.lua index acdd0c960e..fa6b266fac 100644 --- a/mods/default/tools.lua +++ b/mods/default/tools.lua @@ -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) diff --git a/mods/mcl_tnt/init.lua b/mods/mcl_tnt/init.lua index 36c3459239..3d13298bd4 100644 --- a/mods/mcl_tnt/init.lua +++ b/mods/mcl_tnt/init.lua @@ -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)