summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.lua b/internal.lua
index 8a3634b..338187a 100644
--- a/internal.lua
+++ b/internal.lua
@@ -130,7 +130,7 @@ function areas:canPlayerAddArea(pos1, pos2, name)
count = count + 1
end
end
- if count > self.self_protection_max_areas then
+ if count >= self.self_protection_max_areas then
return false, "You have reached the maximum amount"
.." of areas that you are allowed to"
.." protect."