From bd28c5548bca865f3950fe5607be924e0a1e501f Mon Sep 17 00:00:00 2001 From: Cai <13110818005@qq.com> Date: Wed, 28 Jan 2026 23:32:54 +0800 Subject: [PATCH] remove annoying dead check --- TShockAPI/TShock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index f7e6c5d2..6008da18 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -1644,7 +1644,7 @@ namespace TShockAPI 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) { e.Handled = true;