From 16c660db44bd4a6600a4430c90465aa436ee424b Mon Sep 17 00:00:00 2001 From: Deathmax Date: Thu, 12 Jan 2012 19:38:48 +0800 Subject: [PATCH] Fix coins not dropping properly. Anti-cheat protection was preventing item update packets while dead, which is what occurs when someone dies and drops their items. --- TShockAPI/TShock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index a8cfc044..57ebf221 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -802,7 +802,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 != 38 && (int) type != 5 && (int) type != 21) { e.Handled = true; return;