Removed the Region code. Left todo's for the places where we currently reference it though.

This commit is contained in:
Zack Piispanen 2012-05-30 20:12:27 -04:00
parent 9d9950b2b4
commit b56a77b39d
5 changed files with 17 additions and 1113 deletions

View file

@ -1648,7 +1648,8 @@ namespace TShockAPI
if (args.Player.AwaitingName)
{
var protectedregions = TShock.Regions.InAreaRegionName(tileX, tileY);
//todo: We need to replace this call to the region manage plugins call
/*var protectedregions = TShock.Regions.InAreaRegionName(tileX, tileY);
if (protectedregions.Count == 0)
{
args.Player.SendMessage("Region is not protected", Color.Yellow);
@ -1657,7 +1658,7 @@ namespace TShockAPI
{
string regionlist = string.Join(",", protectedregions.ToArray());
args.Player.SendMessage("Region Name(s): " + regionlist, Color.Yellow);
}
}*/
args.Player.SendTileSquare(tileX, tileY);
args.Player.AwaitingName = false;
return true;