Merge pull request #297 from mcantor/general-devel

Cleanup: Remove old WarpsManager.cs file
This commit is contained in:
Will 2011-09-25 15:35:16 -07:00
commit ff24dfaaaf
3 changed files with 6 additions and 214 deletions

View file

@ -1,4 +1,4 @@
/*
/*
TShock, a server mod for Terraria
Copyright (C) 2011 The TShock Team
@ -36,7 +36,7 @@ namespace TShockAPI
public string Message { get; private set; }
public TSPlayer Player { get; private set; }
/// <summary>
/// Parameters passed to the arguement. Does not include the command name.
/// Parameters passed to the arguement. Does not include the command name.
/// IE '/kick "jerk face"' will only have 1 argument
/// </summary>
public List<string> Parameters { get; private set; }
@ -352,7 +352,6 @@ namespace TShockAPI
private static void PasswordUser(CommandArgs args)
{
try
{
if (args.Player.IsLoggedIn && args.Parameters.Count == 2)
@ -901,7 +900,6 @@ namespace TShockAPI
Tools.ForceKickAll("Server shutting down for update!");
WorldGen.saveWorld();
Netplay.disconnect = true;
}
#endregion Server Maintenence Commands
@ -1375,7 +1373,6 @@ namespace TShockAPI
args.Player.SendMessage("Specified warp not found", Color.Red);
}
}
}
#endregion Teleport Commands
@ -1578,7 +1575,6 @@ namespace TShockAPI
private static void MaxSpawns(CommandArgs args)
{
if (args.Parameters.Count != 1)
{
args.Player.SendMessage("Invalid syntax! Proper syntax: /maxspawns <maxspawns>", Color.Red);
@ -1726,7 +1722,6 @@ namespace TShockAPI
}
switch (cmd)
{
case "name":
{
{
@ -1735,7 +1730,6 @@ namespace TShockAPI
}
break;
}
case "set":
{
int choice = 0;
@ -2001,7 +1995,6 @@ namespace TShockAPI
break;
}
}
}
#endregion World Protection Commands
@ -2228,6 +2221,7 @@ namespace TShockAPI
(new Thread(ply.Whoopie)).Start(annoy);
}
}
#endregion General Commands
#region Cheat Commands
@ -2608,6 +2602,7 @@ namespace TShockAPI
}
args.Player.SendMessage("You have grown a " + name, Color.Green);
}
#endregion Cheat Comamnds
}
}