Adds banned items. Delete groups.txt and run server once.

This commit is contained in:
Twitchy 2011-06-22 19:51:10 +12:00
parent 2807bb70ab
commit d2c1082c59
9 changed files with 119 additions and 23 deletions

View file

@ -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);