Fix some deprecation warnings

This commit is contained in:
HybridDog
2021-12-22 18:24:47 +01:00
parent fb1eca6c11
commit c35d18a519
6 changed files with 19 additions and 18 deletions

View File

@ -398,7 +398,7 @@ minetest.register_chatcommand("nether_help", {
minetest.chat_send_player(name, "Something went wrong.")
return false
end
if player:getpos().y > nether.start then
if player:get_pos().y > nether.start then
minetest.chat_send_player(name,
"Usually you don't neet this guide here. " ..
"You can view it in the nether.")