Fixed warp hiding
This commit is contained in:
parent
b85bed52d2
commit
659321efb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue