Allow PacketTypes.SyncLoadout during early connection
This mirrors the behavior in `MessageBuffer` when only accepting specific packets under state `10`.
This commit is contained in:
parent
4d35ee395e
commit
3163c88d4a
1 changed files with 1 additions and 1 deletions
|
|
@ -1605,7 +1605,7 @@ namespace TShockAPI
|
|||
}
|
||||
|
||||
if ((player.State < 10 || player.Dead) && (int)type > 12 && (int)type != 16 && (int)type != 42 && (int)type != 50 &&
|
||||
(int)type != 38 && (int)type != 21 && (int)type != 22)
|
||||
(int)type != 38 && (int)type != 21 && (int)type != 22 && type != PacketTypes.SyncLoadout)
|
||||
{
|
||||
e.Handled = true;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue