From 903b5b124ecaaef164e1dec182bc3c8f4971395e Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Mon, 11 Dec 2017 10:04:21 -0700 Subject: [PATCH] Remove more randomly commented out code with no apparent reason --- TShockAPI/GetDataHandlers.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 0ef703af..205bf0b7 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -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;