1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-04 15:40:23 +02:00

use message parts instead of concatenation

This commit is contained in:
nixnoxus
2022-04-23 10:53:41 +02:00
parent 3c30d1328f
commit 8c96dbe7fb
5 changed files with 8 additions and 10 deletions

View File

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