Send packet too
This commit is contained in:
parent
60d3252a2e
commit
55262e6108
1 changed files with 2 additions and 0 deletions
|
|
@ -3651,6 +3651,7 @@ namespace TShockAPI
|
||||||
if (p != null && p.active)
|
if (p != null && p.active)
|
||||||
{
|
{
|
||||||
p.Kill();
|
p.Kill();
|
||||||
|
TSPlayer.All.SendData(PacketTypes.ProjectileDestroy, "", p.whoAmI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3664,6 +3665,7 @@ namespace TShockAPI
|
||||||
if (p != null && p.active && p.type == id)
|
if (p != null && p.active && p.type == id)
|
||||||
{
|
{
|
||||||
p.Kill();
|
p.Kill();
|
||||||
|
TSPlayer.All.SendData(PacketTypes.ProjectileDestroy, "", p.whoAmI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue