From 82c7c9d694a6b79a5a00a7fad7085ac369d0d881 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Thu, 17 Jan 2019 01:12:04 +0200 Subject: [PATCH] well that was weird --- towny/regions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/towny/regions.lua b/towny/regions.lua index 13b97d3..fa060f5 100644 --- a/towny/regions.lua +++ b/towny/regions.lua @@ -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