From 659321efb432fc6ca68a80ebfeebae92a0969c01 Mon Sep 17 00:00:00 2001 From: MarioE Date: Mon, 4 Jun 2012 21:51:29 -0400 Subject: [PATCH] Fixed warp hiding --- TShockAPI/Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index d48a4f19..31ab3cfc 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -1486,7 +1486,7 @@ namespace TShockAPI bool state = false; if (Boolean.TryParse(args.Parameters[2], out state)) { - if (TShock.Warps.HideWarp(args.Parameters[0], state)) + if (TShock.Warps.HideWarp(args.Parameters[1], state)) { if (state) args.Player.SendSuccessMessage("Warp " + warpName + " is now private.");