Attempting to fix region detection

Attempting to fix /protect
This commit is contained in:
Lucas Nicodemus 2011-07-15 22:56:51 -06:00
parent 9cdbcdb92c
commit b98c84fa5b
4 changed files with 9 additions and 5 deletions

View file

@ -336,7 +336,7 @@ namespace TShockAPI.DB
public bool InArea(Rectangle point)
{
if (RegionArea.Intersects(point))
if (RegionArea.Contains(point.X, point.Y))
{
return true;
}