Misleading wiki caused this commit
This commit is contained in:
parent
1460a7ad91
commit
464a52a70a
1 changed files with 0 additions and 6 deletions
|
|
@ -1295,12 +1295,6 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
|
|
||||||
if (amount > TShock.Config.MaxDamage * 0.2)
|
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);
|
args.Player.Disable("HealOtherPlayer cheat attempt!", DisableFlags.WriteToLogAndConsole);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue