Health and Mana hacks now kick, since there is no option for recovery.

This commit is contained in:
Zidonuke 2011-12-27 14:40:40 -05:00
parent 23ddd4e891
commit 0763dce4e6
2 changed files with 7 additions and 11 deletions

View file

@ -749,8 +749,7 @@ namespace TShockAPI
TShock.Utils.ShowFileToUser(player, "motd.txt");
if (HackedHealth(player))
{
player.IgnoreActionsForCheating = true;
player.SendMessage("You are using a health/mana cheat. Please choose a different character.");
TShock.Utils.ForceKick(player, "You have Hacked Health/Mana, Please use a different character.");
}
if (HackedInventory(player))