diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c548cac..4a47f26b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,6 +92,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * When deleting an user account, any player logged in to that account is now logged out properly (@Enerdy) * Add NPCAddBuff data handler and bouncer (@AxeelAnder) * Improved config file documentation (@Enerdy) +* Add PlayerZone data handler and bouncer (@AxeelAnder) ## TShock 4.3.25 * Fixed a critical exploit in the Terraria protocol that could cause massive unpreventable world corruption as well as a number of other problems. Thanks to @bartico6 for reporting. Fixed by the efforts of @QuiCM, @hakusaro, and tips in the right directioon from @bartico6. diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index d38a249f..f31f9dcc 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -1012,8 +1012,7 @@ namespace TShockAPI bool hasVortexTower = false; bool hasNebulaTower = false; bool hasStardustTower = false; - - // May need to optimize + foreach (var npc in Main.npc) { if (npc.netID == NPCID.LunarTowerSolar)