Fix for HealOtherPlayer exploit, also fix #1309

This commit is contained in:
Simon 2016-10-17 15:51:49 +03:00
parent 5be85b9864
commit 1460a7ad91
4 changed files with 59 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>