From 71fa2eed5f53ab640a87ea80e1a1356ea38db45f Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Wed, 26 Aug 2020 14:20:44 -0400 Subject: [PATCH] more efficient --- NPCs/TownNPCs/THIEF.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/TownNPCs/THIEF.cs b/NPCs/TownNPCs/THIEF.cs index cfbc0e0f45..f09bc8c028 100644 --- a/NPCs/TownNPCs/THIEF.cs +++ b/NPCs/TownNPCs/THIEF.cs @@ -278,7 +278,7 @@ namespace CalamityMod.NPCs.TownNPCs shop.item[nextSlot].shopCustomPrice = Item.buyPrice(0, 60, 0, 0); nextSlot++; } - if (NPC.downedMechBoss1 || NPC.downedMechBoss2 || NPC.downedMechBoss3) + if (NPC.downedMechBossAny) { shop.item[nextSlot].SetDefaults(ModContent.ItemType()); nextSlot++;