mirror of
https://github.com/minetest-mods/areas.git
synced 2025-07-15 06:10:24 +02:00
Corrige crash au démarrage
This commit is contained in:
@ -225,7 +225,8 @@ function areas:canPlayerAddArea(pos1, pos2, name)
|
||||
(pos2.x - pos1.x) > max_size.x or
|
||||
(pos2.y - pos1.y) > max_size.y or
|
||||
(pos2.z - pos1.z) > max_size.z then
|
||||
return false, S("Area is too big.")
|
||||
return false, S("Area is too big.")
|
||||
end
|
||||
end
|
||||
|
||||
-- Check number of areas the user has and make sure it not above the max
|
||||
|
Reference in New Issue
Block a user