getpos to get_pos, get_pitch/yaw to get_look_vertical/horizontal

This commit is contained in:
TenPlus1 2017-10-09 15:29:04 +01:00
commit 8f02711af4
4 changed files with 8 additions and 8 deletions

View file

@ -121,7 +121,7 @@ minetest.register_chatcommand("protector_show", {
func = function(name, param)
local player = minetest.get_player_by_name(name)
local pos = player:getpos()
local pos = player:get_pos()
local r = protector.radius -- max protector range.
-- find the protector nodes