getpos to get_pos, get_pitch/yaw to get_look_vertical/horizontal
This commit is contained in:
parent
c81191df2a
commit
8f02711af4
4 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue