This commit is contained in:
stujones11 2019-05-26 21:16:44 +01:00
parent bd2b3948f3
commit c6984353e5
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ local age = 0.5 --How old an item has to be before collecting
local radius_magnet = 2 --Radius of item magnet
local player_collect_height = 1.3 --Added to their pos y value
local function valid_pos()
local function valid_pos(pos)
if pos then
for _, v in pairs({"x", "y", "z"}) do
if not pos[v] or pos[v] < -32000 or pos[v] > 32000 then