Added Dynamite/Bomb projectile checks.

Fixed issue where Kill Tile Abuse doesn't check for config values.
This commit is contained in:
Deathmax 2011-06-03 21:43:05 +08:00
parent 60156af877
commit f1d821a554
5 changed files with 57 additions and 9 deletions

View file

@ -128,7 +128,7 @@ namespace TShockAPI
/// </summary>
/// <param name="ip"></param>
/// <returns></returns>
public static bool CheckGreif(String ip)
public static bool Checkgrief(String ip)
{
ip = Tools.GetRealIP(ip);
if (!ConfigurationManager.banTnt) { return false; }