Remove more randomly commented out code with no apparent reason

This commit is contained in:
Lucas Nicodemus 2017-12-11 10:04:21 -07:00
parent 5c9d2ed870
commit 903b5b124e

View file

@ -3097,16 +3097,6 @@ namespace TShockAPI
{
var buff = args.Data.ReadInt8();
/*if (TShock.Itembans.ItemBans.Any(s =>
{
Item item = new Item();
item.SetDefaults(s.Name);
return item.buffType == buff;
}))
{
buff = 0;
}*/
if (buff == 10 && TShock.Config.DisableInvisPvP && args.TPlayer.hostile)
buff = 0;