Read extra data for kill portal
This commit is contained in:
parent
0a95457a7e
commit
92f8095277
1 changed files with 1 additions and 0 deletions
|
|
@ -3196,6 +3196,7 @@ namespace TShockAPI
|
||||||
private static bool HandleKillPortal(GetDataHandlerArgs args)
|
private static bool HandleKillPortal(GetDataHandlerArgs args)
|
||||||
{
|
{
|
||||||
short projectileIndex = args.Data.ReadInt16();
|
short projectileIndex = args.Data.ReadInt16();
|
||||||
|
args.Data.ReadInt8(); // Read byte projectile AI
|
||||||
|
|
||||||
Projectile projectile = Main.projectile[projectileIndex];
|
Projectile projectile = Main.projectile[projectileIndex];
|
||||||
if (projectile != null && projectile.active)
|
if (projectile != null && projectile.active)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue