Health and Mana hacks now kick, since there is no option for recovery.
This commit is contained in:
parent
23ddd4e891
commit
0763dce4e6
2 changed files with 7 additions and 11 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue