Protected actually sets values
This commit is contained in:
parent
2212c81442
commit
9cdbcdb92c
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ namespace TShockAPI.DB
|
|||
{
|
||||
for (int i = 0; i < Regions.Count; i++)
|
||||
{
|
||||
if (Regions[i].InArea(new Rectangle(x, y, 0, 0)))
|
||||
if (Regions[i].InArea(new Rectangle(x, y, 0, 0)) && Regions[i].DisableBuild == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue