mirror of
https://github.com/minetest-mods/areas.git
synced 2024-12-22 04:42:23 +01:00
oops, commas would be nice.
This commit is contained in:
parent
9508a004d0
commit
f70600db30
4
pos.lua
4
pos.lua
@ -131,8 +131,8 @@ end
|
|||||||
|
|
||||||
local function posLimit(pos)
|
local function posLimit(pos)
|
||||||
return {
|
return {
|
||||||
x = math.max(math.min(pos.x, 31000), -31000)
|
x = math.max(math.min(pos.x, 31000), -31000),
|
||||||
y = math.max(math.min(pos.y, 31000), -31000)
|
y = math.max(math.min(pos.y, 31000), -31000),
|
||||||
z = math.max(math.min(pos.z, 31000), -31000)
|
z = math.max(math.min(pos.z, 31000), -31000)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user