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.
This commit is contained in:
Deathmax 2012-01-12 19:38:48 +08:00
parent 0cf287ca11
commit 16c660db44

View file

@ -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;