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:
parent
8e5ee7d286
commit
97f48d6d41
4 changed files with 31 additions and 28 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue