Completely removed /buff
This commit is contained in:
parent
34d39bd8d3
commit
f3e3c4dafc
3 changed files with 0 additions and 26 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue