Check to make sure pull requests work before accepting, please and thanks!
This commit is contained in:
parent
075a909e0a
commit
6225b6faf4
1 changed files with 2 additions and 2 deletions
|
|
@ -2149,7 +2149,7 @@ namespace TShockAPI
|
||||||
if (args.Parameters.Count == 4)
|
if (args.Parameters.Count == 4)
|
||||||
{
|
{
|
||||||
int direction;
|
int direction;
|
||||||
switch (args.Parameters[3])
|
switch (args.Parameters[2])
|
||||||
{
|
{
|
||||||
case "u":
|
case "u":
|
||||||
case "up":
|
case "up":
|
||||||
|
|
@ -2182,7 +2182,7 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int addAmount;
|
int addAmount;
|
||||||
int.TryParse(args.Parameters[2], out 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.SendMessage("Region Resized Successfully!", Color.Yellow);
|
args.Player.SendMessage("Region Resized Successfully!", Color.Yellow);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue