Logging out is now safe in SSC. Fixes #1037
This commit is contained in:
parent
dfc28c8522
commit
4371ad4d9a
2 changed files with 16 additions and 1 deletions
|
|
@ -988,7 +988,7 @@ namespace TShockAPI
|
|||
player.IgnoreActionsForDisabledArmor = check;
|
||||
if (CheckIgnores(player))
|
||||
{
|
||||
player.Disable("check ignores failed in SecondUpdate()", false);
|
||||
player.Disable("check ignores failed in OnSecondUpdate()", false);
|
||||
}
|
||||
else if (Itembans.ItemIsBanned(player.TPlayer.inventory[player.TPlayer.selectedItem].name, player))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue