Changed stack hack handling.

This commit is contained in:
Zidonuke 2011-12-27 14:47:31 -05:00
parent 0763dce4e6
commit 31c4e1a37b
3 changed files with 10 additions and 9 deletions

View file

@ -752,10 +752,7 @@ namespace TShockAPI
TShock.Utils.ForceKick(player, "You have Hacked Health/Mana, Please use a different character.");
}
if (HackedInventory(player))
{
player.IgnoreActionsForCheating = true;
}
HackedInventory(player);
NetMessage.syncPlayers();
@ -1204,7 +1201,7 @@ namespace TShockAPI
check = true;
if (player.IgnoreActionsForInventory)
check = true;
if (player.IgnoreActionsForCheating)
if (player.IgnoreActionsForCheating != "none")
check = true;
if (!player.IsLoggedIn && Config.RequireLogin)
check = true;