summaryrefslogtreecommitdiff
path: root/areas/pos.lua
diff options
context:
space:
mode:
Diffstat (limited to 'areas/pos.lua')
-rw-r--r--areas/pos.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/areas/pos.lua b/areas/pos.lua
index e97e4fc..f969aaa 100644
--- a/areas/pos.lua
+++ b/areas/pos.lua
@@ -131,8 +131,8 @@ end
local function posLimit(pos)
return {
- x = math.max(math.min(pos.x, 31000), -31000)
- y = math.max(math.min(pos.y, 31000), -31000)
+ x = math.max(math.min(pos.x, 31000), -31000),
+ y = math.max(math.min(pos.y, 31000), -31000),
z = math.max(math.min(pos.z, 31000), -31000)
}
end