1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-04 07:30: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

@ -178,7 +178,7 @@ farming.place_seed = function(itemstack, placer, pointed_thing, plantname)
end
-- add the node and remove 1 item from the itemstack
default.log_player_action(placer, "places node " .. plantname, pt.above)
default.log_player_action(placer, "places node", plantname, pt.above)
minetest.add_node(pt.above, {name = plantname, param2 = 1})
tick(pt.above)
if not minetest.is_creative_enabled(player_name) then