From 92f8095277a5a647e873ef836a651a5cdb83704a Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Mon, 18 May 2020 00:00:55 -0700 Subject: [PATCH] Read extra data for kill portal --- TShockAPI/GetDataHandlers.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 0c1b0c9b..20409603 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -3196,6 +3196,7 @@ namespace TShockAPI private static bool HandleKillPortal(GetDataHandlerArgs args) { short projectileIndex = args.Data.ReadInt16(); + args.Data.ReadInt8(); // Read byte projectile AI Projectile projectile = Main.projectile[projectileIndex]; if (projectile != null && projectile.active)