diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 15:29:04 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 15:29:04 +0100 |
commit | 8f02711af43c1b438fea56a270e67985220d394e (patch) | |
tree | f53d3fadd66826f7e209d6a28542c59880f53b80 /admin.lua | |
parent | c81191df2ab8b0f6f79692278ca3035779d7913b (diff) |
getpos to get_pos, get_pitch/yaw to get_look_vertical/horizontal
Diffstat (limited to 'admin.lua')
-rw-r--r-- | admin.lua | 2 |
1 files changed, 1 insertions, 1 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 |