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:
parent
0cf287ca11
commit
16c660db44
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue