Suggestions + fix last missed magic number
This commit is contained in:
parent
72f529fcb1
commit
5a23073db5
4 changed files with 31 additions and 31 deletions
|
|
@ -189,7 +189,7 @@ namespace TShockAPI.DB
|
|||
if (!player.IsLoggedIn)
|
||||
return false;
|
||||
|
||||
if (player.State < (int)ClientState.ClientSpawned)
|
||||
if (player.State < (int)ConnectionState.Complete)
|
||||
return false;
|
||||
|
||||
if (player.HasPermission(Permissions.bypassssc) && !fromCommand)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue