mirror of
https://github.com/minetest/minetest_game.git
synced 2025-07-03 23:20:22 +02:00
use message parts instead of concatenation
This commit is contained in:
@ -633,8 +633,7 @@ function tnt.register_tnt(def)
|
||||
if puncher:get_wielded_item():get_name() == "default:torch" then
|
||||
minetest.swap_node(pos, {name = name .. "_burning"})
|
||||
minetest.registered_nodes[name .. "_burning"].on_construct(pos)
|
||||
default.log_player_action(puncher,
|
||||
"ignites " .. node.name, pos)
|
||||
default.log_player_action(puncher, "ignites", node.name, pos)
|
||||
end
|
||||
end,
|
||||
on_blast = function(pos, intensity)
|
||||
|
Reference in New Issue
Block a user