Fix Skeletron Prime Crash Exploiting people, naughty naughty
Set secondUpdate to stop displaying, because apparently no one knows that not being logged in is breaking the rules when requirelogin:true
This commit is contained in:
parent
c112f433c5
commit
0d350d53fa
3 changed files with 12 additions and 5 deletions
|
|
@ -2955,8 +2955,8 @@ namespace TShockAPI
|
|||
var pvp = args.Data.ReadBoolean();
|
||||
var crit = args.Data.ReadBoolean();
|
||||
|
||||
if (dmg > 10000) //Abnormal values have the potential to cause infinite loops in the server.
|
||||
{
|
||||
if (dmg > 12000) //Abnormal values have the potential to cause infinite loops in the server.
|
||||
{ //12000 because Skely Prime Head does 10339 or some bs during the day.
|
||||
TShock.Utils.ForceKick(args.Player, "Crash Exploit Attempt", true);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue