Adds banned items. Delete groups.txt and run server once.
This commit is contained in:
parent
2807bb70ab
commit
d2c1082c59
9 changed files with 119 additions and 23 deletions
|
|
@ -1383,6 +1383,7 @@ namespace TShockAPI
|
|||
}
|
||||
|
||||
var items = Tools.GetItemByIdOrName(args.Parameters[0]);
|
||||
|
||||
if (items.Count == 0)
|
||||
{
|
||||
args.Player.SendMessage("Invalid item type!", Color.Red);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue