From a2e6a069859798121f8d49f3c55c11dd29cf5770 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Fri, 22 Dec 2017 10:24:23 -0700 Subject: [PATCH] Fix local var check accidentally being removed --- TShockAPI/TShock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 2c60ef2d..ddb36d32 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -1085,7 +1085,7 @@ namespace TShockAPI { player.IsDisabledForStackDetection = player.HasHackedItemStacks(shouldWarnPlayer: true); } - check = "none"; + string check = "none"; // Please don't remove this for the time being; without it, players wearing banned equipment will only get debuffed once foreach (Item item in player.TPlayer.armor) {