From 142b67ace3303d48f0a371420da3955c6df64f75 Mon Sep 17 00:00:00 2001 From: k0rd Date: Fri, 4 Oct 2013 02:22:37 -0400 Subject: [PATCH] hardmode dungeon mobs shouldn't falsely trigger cheat detection when they hit you --- TShockAPI/GetDataHandlers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 2a23a3a9..4e505099 100755 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -2392,7 +2392,7 @@ namespace TShockAPI bool hasPermission = !TShock.CheckProjectilePermission(args.Player, index, type); if (!TShock.Config.IgnoreProjUpdate && !hasPermission) { - if (type == 100 || type == 294 || type == 295 || type == 296) + if ((type == 100) || (type > 289 && type < 298)) { Log.Debug("Certain projectiles have been ignored for cheat detection."); }