mirror of
https://github.com/minetest-mods/areas.git
synced 2024-08-21 10:44:05 +02: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