Checking whether a point is in a region no longer requires to region to be protected.

Renamed some methods to conform to C# conventions.
This commit is contained in:
White 2015-09-06 18:49:57 +09:30
parent 502afb4e6f
commit 2e5eaae0b3
3 changed files with 13 additions and 14 deletions

View file

@ -4335,7 +4335,7 @@ namespace TShockAPI
}
int addAmount;
int.TryParse(args.Parameters[3], out addAmount);
if (TShock.Regions.resizeRegion(args.Parameters[1], addAmount, direction))
if (TShock.Regions.ResizeRegion(args.Parameters[1], addAmount, direction))
{
args.Player.SendInfoMessage("Region Resized Successfully!");
TShock.Regions.Reload();