Completely removed /buff

This commit is contained in:
Deathmax 2011-07-06 22:00:34 +08:00
parent 34d39bd8d3
commit f3e3c4dafc
3 changed files with 0 additions and 26 deletions

View file

@ -173,7 +173,6 @@ namespace TShockAPI
ChatCommands.Add(new Command("item", Item, "item", "i"));
ChatCommands.Add(new Command("item", Give, "give"));
ChatCommands.Add(new Command("heal", Heal, "heal"));
//ChatCommands.Add(new Command("buff", Buff, "buff"));
}
}
@ -1681,22 +1680,6 @@ namespace TShockAPI
}
}
private static void Buff(CommandArgs args)
{
if (!args.Player.RealPlayer)
{
args.Player.SendMessage("You cant buff yourself!");
return;
}
if (args.Parameters.Count > 0)
{
args.Player.SendMessage("Invalid syntax! Proper syntax: /buff", Color.Red);
return;
}
args.Player.Buff();
args.Player.SendMessage("You have been buffed.", Color.Lime);
}
#endregion Cheat Comamnds
}
}