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

@ -288,6 +288,10 @@ namespace TShockAPI
args.Player.SendTileSquare(x, y);
return true;
}
if (TShock.Regions.InArea(x, y))
{
args.Player.SendMessage("Tick");
}
if (TShock.Config.DisableBuild)
{
if (!args.Player.Group.HasPermission("editspawn"))