From 6fb28f6ef710a2337d1e77426ca89221908eb22f Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Thu, 2 Jul 2020 12:43:25 -0400 Subject: [PATCH] fixed mantis scythe spam and added a netmode check --- NPCs/Astral/Mantis.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/Astral/Mantis.cs b/NPCs/Astral/Mantis.cs index 8bcfa76057..d0d14feedf 100644 --- a/NPCs/Astral/Mantis.cs +++ b/NPCs/Astral/Mantis.cs @@ -110,7 +110,7 @@ namespace CalamityMod.NPCs.Astral { npc.ai[2] += 1f; npc.velocity.X *= 0.95f; - if (npc.ai[2] >= 20f) + if (npc.ai[2] == 20f && Main.netMode != NetmodeID.MultiplayerClient) //Don't do >= 20f or it'll cause a wave of scythes { Main.PlaySound(SoundID.Item71, npc.position); Vector2 vector = Main.player[npc.target].Center - npc.Center;