whoops pushed in some test stuff that would break commands fixed removeItem ban tho, so its all good
This commit is contained in:
parent
347d701b7f
commit
a2f2ea1500
2 changed files with 4 additions and 14 deletions
|
|
@ -1193,18 +1193,13 @@ namespace TShockAPI
|
|||
{
|
||||
if (args.Parameters.Count > 0)
|
||||
{
|
||||
/*String groupname = args.Parameters[0];
|
||||
String groupname = args.Parameters[0];
|
||||
args.Parameters.RemoveAt(0);
|
||||
String permissions = String.Join(",", args.Parameters );
|
||||
|
||||
String response = TShock.Groups.addGroup(groupname, permissions);
|
||||
if( response.Length > 0 )
|
||||
args.Player.SendMessage(response, Color.Green);*/
|
||||
|
||||
TShock.Itembans.AddNewBan("Gold Coin");
|
||||
Console.WriteLine(String.Join(",", TShock.Itembans.ItemBans));
|
||||
TShock.Itembans.RemoveBan("Gold Coin");
|
||||
Console.WriteLine(String.Join(",", TShock.Itembans.ItemBans));
|
||||
args.Player.SendMessage(response, Color.Green);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue