Replace deprecated functions (#37)

This commit is contained in:
Niklp
2022-06-18 10:44:02 +02:00
committed by GitHub
parent 5ffdc26673
commit acf17f2ba4
3 changed files with 6 additions and 6 deletions

View File

@ -194,7 +194,7 @@ minetest.register_on_player_receive_fields(function(player, form_name, fields)
meta:set_string("infotext", fields.title)
end
minetest.log("action", S("@1 has written in a book (title: \"@2\"): \"@3\" at location @4",
player:get_player_name(), fields.title, fields.text, minetest.pos_to_string(player:getpos())))
player:get_player_name(), fields.title, fields.text, minetest.pos_to_string(player:get_pos())))
player_current_book[player_name] = nil
return true