Merge pull request #1310 from Simon311/general-devel

Fix for HealOtherPlayer exploit, also fix #1309
This commit is contained in:
Lucas Nicodemus 2016-10-17 08:51:19 -06:00 committed by GitHub
commit dce26d6928
4 changed files with 53 additions and 3 deletions

View file

@ -93,7 +93,12 @@ namespace TShockAPI
/// The number of projectiles created by the player in the last second.
/// </summary>
public int ProjectileThreshold { get; set; }
/// <summary>
/// The number of HealOtherPlayer packets sent by the player in the last second.
/// </summary>
public int HealOtherThreshold { get; set; }
/// <summary>
/// A timer to keep track of whether or not the player has recently thrown an explosive
/// </summary>