Don't send logs when player is immune is cheat detection
This commit is contained in:
parent
3e8737cf7f
commit
7e3fd905da
1 changed files with 2 additions and 1 deletions
|
|
@ -648,6 +648,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
if (dmg > 125) // random number, if false positives, increase
|
if (dmg > 125) // random number, if false positives, increase
|
||||||
{
|
{
|
||||||
|
if (!args.Player.Group.HasPermission("ignorecheatdetection"))
|
||||||
TShock.Utils.SendLogs(string.Format("{0} sent a projectile with more than 125 damage.", args.Player.Name), Color.Red);
|
TShock.Utils.SendLogs(string.Format("{0} sent a projectile with more than 125 damage.", args.Player.Name), Color.Red);
|
||||||
if (dmg > 175)
|
if (dmg > 175)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue