parent
5e8c513fdd
commit
22a83072a4
@ -17,7 +17,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
|
|
||||||
for _,player in ipairs(minetest.get_connected_players()) do
|
for _,player in ipairs(minetest.get_connected_players()) do
|
||||||
|
|
||||||
local pos = player:getpos()
|
local pos = player:get_pos()
|
||||||
|
|
||||||
-- check if player can travel there
|
-- check if player can travel there
|
||||||
local can_travel, err_msg = pandorabox.can_travel(player, pos)
|
local can_travel, err_msg = pandorabox.can_travel(player, pos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user