Fix description
This commit is contained in:
parent
464a52a70a
commit
68799d9d20
2 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue