ScalarVector1 / DragonLens

Modern, customizable, and community-driven debugging and cheat mod for TModLoader
25 stars 15 forks source link

NPC Butchering Game Freeze #95

Open AquSG opened 6 months ago

AquSG commented 6 months ago

Using the right click butcher feature on npcs with dontTakeDamage set to true, or worms, makes the game freeze eternally. I fixed this locally by changing the strike in the loops from StrikeNPC(new NPC.HitInfo() { Damage = int.MaxValue }); to StrikeInstantKill();