From 6225b6faf40210d878618749d909fc461272ba8a Mon Sep 17 00:00:00 2001 From: Zack Piispanen Date: Mon, 12 Dec 2011 21:23:38 -0500 Subject: [PATCH] Check to make sure pull requests work before accepting, please and thanks! --- TShockAPI/Commands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 71c22b66..b3cc4cdc 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -2149,7 +2149,7 @@ namespace TShockAPI if (args.Parameters.Count == 4) { int direction; - switch (args.Parameters[3]) + switch (args.Parameters[2]) { case "u": case "up": @@ -2182,7 +2182,7 @@ namespace TShockAPI } } 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)) { args.Player.SendMessage("Region Resized Successfully!", Color.Yellow);