This commit is contained in:
White 2016-02-19 18:08:59 +10:30
parent 409327b54e
commit 7e59d4c07d

View file

@ -725,7 +725,7 @@ namespace TShockAPI.DB
Area.Contains does not account for the right and bottom 'border' of the rectangle,
which results in regions being trimmed.
*/
return Area.X <= x && x <= Area.X + Area.Width && Area.Y <= y && y <= Area.Y + Area.Height;
return x >= Area.X && x <= Area.X + Area.Width && y >= Area.Y && y <= Area.Y + Area.Height;
}
/// <summary>