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
|
|
@ -760,7 +760,7 @@ namespace TShockAPI
|
|||
player.IgnoreActionsForDisabledArmor = check;
|
||||
if (CheckIgnores(player))
|
||||
{
|
||||
player.Disable("check ignores failed in SecondUpdate()");
|
||||
player.Disable("check ignores failed in SecondUpdate()", false);
|
||||
}
|
||||
else if (!player.Group.HasPermission(Permissions.usebanneditem) &&
|
||||
Itembans.ItemIsBanned(player.TPlayer.inventory[player.TPlayer.selectedItem].name, player))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue