REST & console window title report port correctly

Fixes #443
This commit is contained in:
Lucas Nicodemus 2012-05-26 11:59:31 -06:00
parent 8ea0b40214
commit d9a53cda30
4 changed files with 7 additions and 8 deletions

View file

@ -1405,8 +1405,7 @@ namespace TShockAPI
{
if (args.Player.RequestedSection)
return true;
args.Player.RequestedSection = true;
args.Player.RequestedSection = true;
if (TShock.HackedHealth(args.Player) && !args.Player.Group.HasPermission(Permissions.ignorestathackdetection))
{
TShock.Utils.ForceKick(args.Player, "You have Hacked Health/Mana, Please use a different character.", true);