hardmode dungeon mobs shouldn't falsely trigger cheat detection when they hit you

This commit is contained in:
k0rd 2013-10-04 02:22:37 -04:00
parent c1e5765049
commit 142b67ace3

View file

@ -2392,7 +2392,7 @@ namespace TShockAPI
bool hasPermission = !TShock.CheckProjectilePermission(args.Player, index, type); bool hasPermission = !TShock.CheckProjectilePermission(args.Player, index, type);
if (!TShock.Config.IgnoreProjUpdate && !hasPermission) 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."); Log.Debug("Certain projectiles have been ignored for cheat detection.");
} }