mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-28 13:13:01 +00:00
Fix TNT texture names
This commit is contained in:
parent
5722535e07
commit
1828a54374
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue