hardmode dungeon mobs shouldn't falsely trigger cheat detection when they hit you
This commit is contained in:
parent
c1e5765049
commit
142b67ace3
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue