Fix description

This commit is contained in:
Simon 2016-10-17 16:17:44 +03:00
parent 464a52a70a
commit 68799d9d20
2 changed files with 3 additions and 3 deletions

View file

@ -295,8 +295,8 @@ namespace TShockAPI
[Description("Disable a player if this number of projectiles is created within 1 second.")]
public int ProjectileThreshold = 50;
/// <summary>ProjectileThreshold - Disables a player if this number of projectiles is created within 1 second.</summary>
[Description("Disable a player if this number of projectiles is created within 1 second.")]
/// <summary>HealOtherThreshold - Disables a player if this number of HealOtherPlayer packets is sent within 1 second.</summary>
[Description("Disables a player if this number of HealOtherPlayer packets is sent within 1 second.")]
public int HealOtherThreshold = 50;
/// <summary>ProjIgnoreShrapnel - Whether or not to ignore shrapnel from crystal bullets for the projectile threshold count.</summary>

View file

@ -1030,7 +1030,7 @@ namespace TShockAPI
player.PaintThreshold = 0;
}
if (player.HealOtherThreshold > TShock.Config.HealOtherThreshold)
if (player.HealOtherThreshold >= TShock.Config.HealOtherThreshold)
{
player.Disable("Reached HealOtherPlayer threshold", flags);
}