Misleading wiki caused this commit

This commit is contained in:
Simon 2016-10-17 16:05:18 +03:00
parent 1460a7ad91
commit 464a52a70a

View file

@ -1295,12 +1295,6 @@ namespace TShockAPI
}
if (amount > TShock.Config.MaxDamage * 0.2)
{
args.Player.Disable("HealOtherPlayer max amount cheat attempt!", DisableFlags.WriteToLogAndConsole);
return true;
}
if (args.TPlayer.whoAmI != plr && (args.TPlayer.team == 0 || args.TPlayer.team != Main.player[plr].team))
{
args.Player.Disable("HealOtherPlayer cheat attempt!", DisableFlags.WriteToLogAndConsole);
return true;