Replace getpos() with get_pos()
This commit is contained in:
parent
1f1361d179
commit
e789801662
58 changed files with 105 additions and 105 deletions
|
@ -54,7 +54,7 @@ local function choose_pos(pos)
|
|||
|
||||
local r = rng:next(1, playercount)
|
||||
local randomplayer = playerlist[r]
|
||||
pos = randomplayer:getpos()
|
||||
pos = randomplayer:get_pos()
|
||||
|
||||
-- avoid striking underground
|
||||
if pos.y < -20 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue