Renamed TSPlayer.CheckIgnores() -> TSPlayer.IsBeingDisabled()

Since all of the flags it was checking have been demystified, this
is pretty self explanatory now.
This commit is contained in:
Lucas Nicodemus 2017-12-20 17:42:59 -07:00
parent 8e5ee7d286
commit 97f48d6d41
4 changed files with 31 additions and 28 deletions

View file

@ -1083,7 +1083,7 @@ namespace TShockAPI
if (Main.ServerSideCharacter && !player.IsLoggedIn)
{
if (player.CheckIgnores())
if (player.IsBeingDisabled())
{
player.Disable(flags: flags);
}
@ -1163,7 +1163,7 @@ namespace TShockAPI
}
player.IsDisabledForBannedWearable = true;
if (player.CheckIgnores())
if (player.IsBeingDisabled())
{
player.Disable(flags: flags);
}