remove annoying dead check

This commit is contained in:
Cai 2026-01-28 23:32:54 +08:00
parent eabeda92ae
commit bd28c5548b
No known key found for this signature in database
GPG key ID: 7D738D40768F4D11

View file

@ -1644,7 +1644,7 @@ namespace TShockAPI
return; return;
} }
if ((player.State < (int)ConnectionState.Complete || player.Dead) && (int)type > 12 && (int)type != 16 && (int)type != 42 && (int)type != 50 && if ((player.State < (int)ConnectionState.Complete) && (int)type > 12 && (int)type != 16 && (int)type != 42 && (int)type != 50 &&
(int)type != 38 && (int)type != 21 && (int)type != 22 && type != PacketTypes.SyncLoadout) (int)type != 38 && (int)type != 21 && (int)type != 22 && type != PacketTypes.SyncLoadout)
{ {
e.Handled = true; e.Handled = true;