well that was weird

This commit is contained in:
Evert Prants 2019-01-17 01:12:04 +02:00
parent 88935ed573
commit 82c7c9d694
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ end
function towny.regions.protection_mod(p1,p2)
if not protprev then return false end
if modareas then
if #areas:getAreasIntersectingArea(p1, p2) > 0 then
if #areas:getAreasIntersectingArea(table.copy(p1), table.copy(p2)) > 0 then
return true
end
end